Report generation and visualization systems and methods and their use in testing frameworks for determining suitability of a network for target applications

ABSTRACT

A system visualizes and generates reports from stored data, concerning various measured parameters related to a network carrying call traffic. The network is displayed in an easily recognized arrangement, with various parameters being indicated by different shapes and colors for each device on the network. The parameters are changed to indicate the status of the network at different times. More detailed information about a parameter, a device or a path between devices may be obtained simply using a mouse or keystrokes. A variety of different types of detailed displays allows the operator to troubleshoot problems in the network.

RELATED APPLICATIONS

[0001] The present application claims priority based on provisional application No. 60/329,569 filed Oct. 15, 2001.

[0002] The present application is related to concurrently filed non-provisional applications:

[0003] (i) Network Topology Discovery Systems and Methods and their Use in Testing Frameworks for Determining Suitability of a Network for Target Applications; and

[0004] (ii) Network Traffic Generation and Monitoring Systems and Methods and their Use in Testing Frameworks Determining Suitability of a Network for Target Applications; which concurrently filed applications are assigned to the assignee of the present application.

[0005] These related applications are hereby incorporated by reference in the present application as if set forth in their entirety herein.

FIELD OF THE INVENTION

[0006] The present invention relates to techniques for data network topology discovery, data network monitoring and analysis, and for reporting, display and visualization of such data network topology, analysis and monitoring. More particularly, the present invention relates to topology discovery, analysis, monitoring and reporting, display and visualization of operations in data networks using protocols such as the Internet Protocol (IP) for Voice over IP (VoIP) and other (e.g., multimedia) network applications, and for configuring and provisioning IP networks for such applications.

BACKGROUND OF THE INVENTION

[0007] Packet switched networks typically include a plurality of network devices (e.g., end user terminals, computers, routers and switches) interconnected by transmission links. Such networks are commonly used today for data-oriented applications such as delivering email and web content. Multimedia and real-time applications (e.g., streaming audio, video on demand, and voice applications) running on the same packet switched network, though less common than the data-oriented applications, are gaining acceptance. Packet switched networks are different from the circuit switched networks that have traditionally been used for telephone communication. In a circuit switched network a pair of endpoints communicate by establishing a connection, which behaves as if endpoints are connected to the same wire. In packet switched networks, however, many participants compete for the same network resources (i.e., routers, switches, and links).

[0008] The well-known ISO-OSI seven-layer reference model (International Standards Organization-Open Systems Interconnect) was developed to help describe computer networks. Two important layers of this model are used throughout this document. Layer 2, the data-link layer, refers to communication within a LAN, such as what Ethernet provides. Layer 3, the network layer, refers to networks that may span multiple LANs, such as the Internet Protocol (IP). We can think of devices that operate primarily at layer 2 as layer-2 devices. For example, the primary function of an Ethernet switch is to forward Ethernet traffic in units called frames to the port on the path towards the destination device. Thus, a switch is considered a layer-2 device. It should be noted that switches often have management agents that operate at layer 7 (the application layer) and require a layer-3 component to communicate with the management station. Despite having a component that operates at layer 3, a switch is still considered a layer-2 device because its primary function (namely forwarding Ethernet frames) is applied at layer 2. Similarly, layer-3 devices are those devices that operate primarily at layer 3. An example of a layer-3 device is an IP router. The primary function of such a device is to process IP packets and forward them to the interface towards the destination. Routers require hardware that creates a layer-2 (and layer-1, the physical layer) frame to send the packet to the neighboring device. Despite the existence of such hardware, the router is considered a layer-3 device because the primary function is to process layer-3 packets.

[0009] A recent trend has been to combine functionality of a switch and a router in a single box. Such devices, called layer-3 switches, have characteristics of both layer-2 and layer-3 devices. A layer-3 switch can be treated as two separate devices, a layer-2 switch and a layer-3 router, connected by its internal backbone bus.

[0010] A subnet is an important concept in a network, such as an IP network. A subnet can be defined as a set of network addresses (or the devices using those addresses) that can communicate directly at layer-3. That is, the physical path between the addresses may contain any number of layer-2 devices (such as switches), but no other layer-3 devices. A router is a device that sends traffic between subnets.

[0011] Subnets can also be defined in terms of IP addresses. An IP address consists of 32 bits (or 4 octets, represented as the decimal value of each octet separated by periods). The example IP address, 192.168.3.106, corresponds to the binary representation shown in the first row of Table 1.

[0012] An IP address can be divided into two parts: the subnet address and host address, where the first (most significant) N bits of the address are the subnet address and the remaining bits are the host address. All addresses belonging to the same subnet have the same subnet address, and hosts within the subnet have a different host address. Thus, a subnet can be defined as the combination of a subnet address and N, the number of significant bits used in the subnet address. It is convenient to construct a subnet mask (or network mask) as a bit field where the first bits N are set to one and the remaining bits are set to zero. For example, similar to the IP address representation, a subnet mask of 23 bits is equivalent to 255.255.254.0. Thus, an address belongs to a subnet if and only if the result of applying the network mask to the address (i.e., the logical AND operation is applied between the binary representations of the address and the mask) is equal to the subnet address.

[0013] An important address in an IP subnet is the broadcast address. Packets sent to the broadcast address are sent to every host in the subnet. The broadcast address is, by definition, the address in the subnet with the largest possible host address (i.e., every bit in the host address is set to 1). Table 1 shows an IP address, subnet mask, subnet address, host address, and broadcast address for the example host and subnet. TABLE 1 Subnet Address Example Dotted Decimal Binary IP Address 192.168.3.106 11000000 10101000 00000011 01101010 Subnet Mask 255.255.254.0 11111111 11111111 11111110 00000000 Subnet 192.168.2.0 11000000 10101000 00000010 00000000 Address Host 0.0.1.106 00000000 00000000 00000001 01101010 Address Broadcast 192.168.3.255 11000000 10101000 00000011 11111111 Address

[0014] Not long ago, the standard network layout used a separate switched network for each department and geographical location (e.g., a floor and wing of a building) and several layer-3 routers between the switched networks. The recent popularity of Virtual LANs (VLANs) has resulted in an increase in the size of fast switched networks and a decrease in the dependency of routers. Today, it is common to use a single switched network for an entire building or campus with a single edge-router for each switched network. This shift underscores the importance of the layer-2 topology in enterprise networks.

[0015]FIG. 1 shows an example of a simple layer-3 network. The network consists of three hosts (H1, H17, and H19), three routers (R3, R7, and R11), one firewall (FW20), three subnets (N2, N16, and N18), the addresses used on the routers (e.g., A4, A9, A10) and several communication links (shown as lines connecting network elements). The figure also shows the route tables for each of the routers. The route tables each have three columns (Subnet, Address, and Type). A route table is indexed by the Subnet field-that is, when the router needs to lookup a route in its route table for a packet, it finds the entry whose Subnet field contains the destination address in the packet header. The second column, address is either (1) the address of the next router along the path toward the destination, or (2) the address belonging the router itself on the same subnet as the destination, if it is the last router along the path. The third column indicates which type of address is used-specifically, the type is indirect if the address belongs to a neighboring router and direct if the subnet is directly connected to the router. Note that some direct route entries have been omitted to simplify the example.

[0016] To illustrate an example of how routers operate, consider the case where HI sends a message to H19. Each host is configured to send traffic to its nearest router, called its default router (or default gateway); in this case, H1's default router is R3. Every device (host, router, etc.) is only allowed to send packets to devices on the same subnet; to send packets to devices on other subnets, the packet must go to a router. In this case, H1 needs to send the packet to its default router, R3, because H1 is on N2 and H19 is on N18. Upon receiving the packet, R3 looks up the destination address, H19 in its route table. It finds that H19 belongs to subnet N18, corresponding to the third entry. Based on that route entry, R3 sends the packet toward A8, which belongs to R7. When R7 looks up the destination address, H19, in its route table, it finds that the destination belongs to a subnet, N18, that is directly connected to the router. Thus, R7 can send the packet directly to H19.

[0017] When a router encounters a packet whose destination address does not match any entry its route table, it sends the packet to the default address. For example, in FIG. 1, the route table of R7 does contain no entry for subnet N16. If R7 receives a packet destined for N16, it sends the packet to A12 by default.

[0018] Informally, the path between a pair of devices in a network consists of the intermediate devices and links traversed by the packets sent between the pair. In the example above, routers R3 and R7 are on the path from H1 to H19.

[0019]FIG. 2 shows an example of a layer-2 network based on subnet N2 of FIG. 1. It consists of four hosts (H1, H20, H21, and H22), one router (R3), four switches (S30-S33), the ports on the switches (I60-I72), and several communication links (shown as lines connecting network elements). The figure also shows the Forward Table for each switch. The Forward Table has two columns, address and port, which map the address to the port along the path toward the host using the address.

[0020] As an example of how typical switches operate, consider the first hop of the path from H1 to H19 above; the first layer-3 hop is from H1 to R3 on subnet N2. First, H1 sends the frame using R3 (more precisely, R3's physical address) as the destination address on H1's only link (i.e., to I60 on S30). Upon receiving the frame, S30 looks up the destination address, R3, in its Forward Table, which indicates that I61 should be used to get to the destination. Thus, S30 sends the frame through I61, which connects to I63 on S31. Next, S31 sends the frame out to I64 as indicated in its Forward Table entry for R3. The frame then arrives at S32, whose Forward Table's entry indicates that S32 should forward the frame on port I67. Finally, the frame arrives at R3 because the router is connected to I67. It should be noted that other switched layer-2 network technologies (e.g., asynchronous transfer mode (ATM), token ring) operate differently, but still fit into this framework.

[0021] As data traverses a network, each packet experiences delay at each of the network devices and links along the path. Delays at devices are based primarily on the state of switches and routers at the time packets are presented (e.g., if the router has a long queue, the packet may sit at the router until all the data ahead of it in the queue is transmitted). Delays due to the links are fixed and depend on (1) the time to send the signal over long distances and (2) the bandwidth of the link (i.e., the maximum transfer rate). Similarly, each packet is subject to being discarded along the path for a variety of reasons, including transmission errors (e.g., due to line noise) and the state of network devices (e.g., a full queue).

[0022] Emerging applications for use on present and proposed future data networks include so-called Voice Over IP (VoIP) applications—and other multimedia applications—that permit data networks carrying computer and other traditional forms of data to also carry coded voice signals using standard Internet Protocol (or other data protocol) techniques. VoIP applications are those for which voice communications are carried over an IP network for at least some of their transit between one or more calling stations and one or more called stations. Though VoIP applications promise increased network efficiencies and lowered cost for voice calls, use of such VoIP applications has thus far been relatively limited because existing and proposed networks are characterized by performance characteristics, including packet loss and packet delay, which, while tolerable for most data applications, give rise to user-perceived impairments that compare unfavorably with traditional voice communications-e.g., over the public switched telephone network (PSTN). See, for example, a paper by S. Pracht and D. Hardman, entitled Voice Quality in Converged Telephony and IP Networks, January 2001, available from Cisco World magazine.

[0023] Recent industry trends show that delivery of multimedia content over data networks has many benefits for a wide range of applications. A significant challenge to the widespread use of such multimedia applications is ensuring the availability of a minimum quality of service (QoS), especially in networks using IP, a protocol that generally provides only best effort delivery of packets. IP does have a notion of Type of Service (TOS) that allows hosts to classify their traffic for different QoS properties (see also DiffServ, below), but this mechanism is seldom utilized in practice.

[0024] VoIP applications constitute a further challenge for data networks since they involve delivery of voice and data content, each having different QoS requirements and sensitivities. While applications delivering voice packets are especially sensitive to delay, jitter, and packet loss, many data application will perform satisfactorily under the same conditions of delay or jitter. For example, in transferring a large file, the user is only concerned with the total time to send the file (e.g., it is acceptable to have periods where no data is sent so long as the total time to transfer the entire file is not affected). It is not acceptable, however, for voice traffic to be silent for seconds while the speaker is trying to talk. Hence, a data network that performs satisfactorily for some applications does not necessarily lend itself to a successful VoIP implementation.

[0025] Prior art on discovering layer-3 topology includes academic papers and tools. Several papers have been published that automatically discover a map of the layer-3 topology but provide limited information about paths between devices in the network. One paper (R. Siamwalla, R. Sharma, and S. Keshav, “Discovering Internet topology,” 1999) presents and compares ping-, traceroute-, and Domain Name Service (DNS)-based techniques to obtain the layer-3 topology. Ping is a protocol where one host sends a particular Internet Control Message Protocol (ICMP) message (an echo request) to another host, which in turn replies with another ICMP message (an echo reply). Traceroute is a program that traces the sequence of routers along a path. It does so by sending an IP packet with a small value in the Time To Live (TTL) field in the IP header. Each router decrements the TTL field by one and it is required to send an ICMP to the sender if the TTL value reaches 0. Traceroute uses the source address of the ICMP packet to determine which router is N hops away (where N is the value set in the TTL field). By repeating this process for various values of TTL (e.g., starting with 0 and counting up until it reaches the destination address), it learns of all the routers along the path.

[0026] Other examples of prior network topology discovery at layer 3 are described in, for example, B. Huffaker, M. Fomenkov, D. Moore, and k. c. claffy, “Macroscopic Analyses of the Infrastructure: Measurement and Visualization of Internet Connectivity and Performance,” in Proc. of PAM2001—A Workshop on Passive and Active Measurements, (Amsterdam, Netherlands), Apr. 23-24, 2001; R. Govindan and H. Tangmunarunkit, “Heuristics for Internet Map Discovery,” in Proc. of the 2000 IEEE Computer and Communications Societies Conf. on Computer Communications (INFOCOM-00), (Los Alamitos, Calif.), IEEE, Mar. 26-30, 2000; H. Burch and B. Cheswick, “Mapping the Internet,” IEEE Computer, vol. 32, pp. 97-98, April 1999. These papers mainly focus on mapping the topology of the Internet backbone rather than that of an enterprise network.

[0027] Among the tools that discover layer-3 topology, Skitter, dynamically discovers and displays the Internet topology as well as performance measurements. Skitter uses a variation of traceroute which sends ICMP probe instead of User Datagram Protocol (UDP) probes. Each probe runs from a set of geographically distributed servers. Skitter has several different views of the topology based on IP address, IP connectivity, geographic location, and performance. It does not attempt, however, to find paths between arbitrary endpoints. Another tool, Mercator, adds a technique to identify where IP addresses from separate paths belong to the same router. It finds paths from a single centralized location. Finally, another tool mapped nearly 100,000 networks in an attempt to visualize the interconnections in the Internet. Their approach used a combination of Border Gateway Protocol (BGP) routing tables, which can be obtained directly from routers, and traceroute. See, for example, Y. Rekhter and T. Li, “A Border Gateway Protocol 4 (BGP-4),” March 1995, RFC 1771.

[0028] Simple Network Management Protocol (SNMP) is an industry standard protocol for communicating management information to and from devices on a network (e.g., routers, switches, printers, etc.). See, for example, J. Case, M. Fedor, M. Schoffstall, and J. Davin, “A Simple Network Management Protocol (SNMP),” May 1990, RFC 1157 or W. Stallings, SNMP, SNMPv2, SNMPv3, and RMON 1 and 2. Reading, Mass.: Addison-Wesley, 3rd ed., January 1999.

[0029] Nearly all new network-attached products for sale to businesses include an SNMP agent (i.e., a software module on the devices for processing SNMP requests). SNMP is a lightweight protocol that allows SNMP clients (e.g., a management tool) to obtain information from or configure devices with an SNMP agent. The meaning of the information that SNMP carries is specified by the Management Information Base (MIB). See, for example, M. Rose and K. McCloghrie, “Concise MIB Definitions,” March 1991, RFC 1212; K. McCloghrie and M. Rose, “Management Information Base for Network Management of TCP/IP-Based Internets: MIB-II,” March 1991, RFC 1213. MIBs are organized in a hierarchical tree where different organizations own separate branches of the tree. For example, the MIB-II branch is controlled by the Internet Engineering Task Force (IETF), a standard body, and any company can have its own branch under the enterprises node.

[0030] SNMP-based approaches for discovering layer-3 devices have been demonstrated in commercial tools. For example, SolarWinds, a network management tool, includes a component for discovering devices on the network using ping, DNS queries, and SNMP queries. The topology discovery process performs a breadth first search from a seed router to the routers given in another router's route table.

[0031] Previous SNMP-based approaches to find the layer-3 path between arbitrary hosts have been demonstrated to work when SNMP is available on all intermediate routers and the IP address of the first router is known. One such approach is described in D. Zeltserman and B. Puoplo, Building Network Management Tools with Tcl/Tk, Upper Saddle River, N.J.: Prentice Hall, January 1998. It starts from a given router, finds the routing entry towards the destination, uses its next-hop address field to find the next router, and iterates until the destination is reached. This approach fails when any router in the path is inaccessible. Because the routing information is collected at run-time it has the advantage that the routes are current. But, such an approach is inefficient for finding several routers at once because some route tables take a long time to retrieve (we have observed some that take as long as 15 minutes to retrieve). The authors suggest a certain improvement such that each hop can be reduced to 33 or fewer lookups by utilizing the table index to check the destination address applying each possible netmask until a suitable entry is found.

[0032] A few commercial tools offer products claiming to provide layer-3 topology discovery. A few well-known examples include HP OpenView 6.2, Computer Associates Unicenter Network and Systems Management 3.0, and IBM's Tivoli. Since the approaches used by each tool are proprietary, the details of each tool cannot be presented here. Only a few tools claim to provide information about layer-3 paths in a network. For example, see Peregrine Systems, Inc., “InfraTools Network Discovery,”; Cisco, “CiscoWorks2000,”.

[0033] Limited literature is available on layer-2 topology discovery. An approach to generate the layer-2 topology between switches was presented in a paper, Y. Breitbart, et al., “Topology discovery in heterogeneous IP networks,” in Proc. of the 2000 IEEE Computer and Communications Societies Conf. on Computer Communications (INFOCOM-00), (Los Alamitos, Calif.), pp. 265-274, Mar. 26-30, 2000 and improved upon in another, B. Lowekamp, D. R. O'Hallaron, and T. R. Gross, “Topology Discovery for Large Ethernet Networks,” in ACM SIGCOMM 2001, (San Diego, Calif.), pp. 237-248, Aug. 27-31, 2001. This approach operates by processing the forwarding tables obtained from each switch via SNMP.

[0034] Some switch vendors have produced commercial tools that use proprietary MIB extensions to generate the layer-2 topology in a network consisting only of their products. See, for example, Hewlett-Packard Co., HP Toptools 5.5 User Guide, 2001. A few commercial tools have recently added claims to provide layer-2 topology discovery in heterogeneous networks. The techniques used by these tools are proprietary. See, for example, Peregrine (as above) and Hewlett-Packard Co., “Discovering and Mapping Level 2 Devices.”

[0035] The prior work presented above for layer-2 topology discovery has certain limitations. Only one other approach finds a path between arbitrary hosts, but: (a) it cannot automatically obtain the first router in a path, (b) the path stops at the first non-SNMP-enabled device in the path, and (c) the path analysis is done on the live network, which is inefficient when a large number of paths are needed. The layer-2 topology algorithms described above perform poorly (e.g., can fail to produce any correct links) when a single forward entry is missing or incorrect. Furthermore, the approaches have not been demonstrated to work on networks using VLANs. No previous techniques have been presented to relate or to combine layer-2 and layer-3 paths.

[0036] Several mechanisms are currently available to manage the allocation of network resources among network users in efforts to optimize QoS in the network. In one example, an emerging Differentiated Services (DiffServ) approach allows a communications provider or a network user to mark packets with different settings to associate them with different grades of network service. See, for example, S. Blake et al, IETF RFC 2475, “An Architecture for Differentiated Services,” December 1998; and W. Stallings, “Differentiated Services,” Communications Systems Design, vol. 6, no. 2, February 2000. Such differentiated services allow the network to allocate network resources among classes of packets and, ultimately, among network users. In addition, some devices permit control over the rate that traffic is sent across portions of the network, thus permitting communications providers to control the offered load applied to a network.

[0037] Two simple techniques for network management, ping and traceroute, are described above. Ping can be used to determine if a network end station can be reached and is operational. Traceroute techniques can determine the layer-3 hop-by-hop path and round-trip time to a network end station. Other proposed techniques actively probe a network by transmitting additional packets into the network and measuring the end-to-end delay and packet loss rate across these networks.

[0038] These approaches suffer several shortcomings when applied to large-scale network performance management. First, ping can only test a connection from a testing point to a remote location. To test paths between network ingress and egress points, a network operator must perform ping operations between all edges of the network of the network. While traceroute can determine the path being taken by packets across the network, it cannot distinguish between packet loss and non-responding systems such as firewalls and the like. Likewise, it can only compute the round-trip delay (including system's processing delay).

[0039] Prior attempts to identify data networks that are suitable for VoIP applications and techniques for optimizing existing networks for VoIP applications have included those used with networks carrying traditional data applications. However, such prior test and measurement techniques often suffer from limitations in recognizing network characteristics that prove of great importance to voice users. Thus, as noted above, suitable packet delay characteristics (as well as jitter and packet loss) prove to be of special importance in successful implementation of VoIP applications. Moreover, most voice traffic over data networks (as in traditional voice networks) involves two-way communications (or more, e.g., for multiparty conferencing) over respective data links, with delay in each link being important to perceived call quality.

[0040] Because many present and proposed VoIP applications are intended for use over private corporate, government or other institutional networks, and because such networks are also required to carry a variety of other traffic, at least some of which has an assigned priority, it often proves necessary to design and operate networks to be used for VoIP applications with such priorities clearly in mind. Thus, it is important to measure existing and proposed traffic flows in view of such priorities and in view of inherent requirements of VoIP applications.

[0041] Because many corporate and other private networks include a large number of operational nodes (computers, user data terminals, voice terminals, routers, switches, etc.) each interconnected with one or more other nodes over a variety of data links, the complexity of such networks often poses severe planning and operational difficulties. Such difficulties are compounded by the variability of traffic, including VoIP traffic, especially in times of network overload or failure. Increases in steady state and peak traffic demands, and newly emerging traffic patterns or actual or potential performance bottlenecks are often difficult to anticipate or quickly recognize using present network monitoring techniques.

[0042] Traffic matrices between sources and destinations in the network are often used for tracking network traffic patterns. A traffic matrix has the source as one axis, the destination as the second axis, and a measure of traffic during some interval of time (e.g., packets per second or bytes per second) as the entry in the matrix. Using a set of such matrices from a set of appropriate intervals, a communications provider can track trends in load offered to its network, thus providing a basic tool for network engineering. One existing network monitoring system measures offered packet load and can record information to create a traffic matrix, but cannot track actual network performance. This system tracks sequences of packets between source and destination addresses as a router processes them and reports this information to a central system. By combining such records from several packet switches, it is possible to compute the number of packets and the number of bytes of packet traffic between ingress and egress points of a network. This tool, however, does not provide a means for computing network loss or delay during specific intervals, nor does it provide means for sectionalizing such performance metrics.

[0043] A network testing tool known as Chariot marketed by NetIQ Corp. provides predictive information relating to impact of introducing a new application on a data network. This and other products of NetIQ are described generally in their publication Managing the Performance of Networked Applications. General descriptive materials are also available at that web site relating to a Chariot Voice over IP module available from NetIQ.

[0044] Commercial tools for network performance monitoring and management currently available include Hewlett-Packard's HP Openview, Lucent's VirtualSuite, Patrol DashBoard, described at bmcsoftware, “PATROL DashBoard,” Omegon's NetAlly described in “NetAlly White Paper,” the Felix project from Telcordia Technologies described in C. Huitema and M. W. Garrett, “Project Felix: Independent monitoring for network survivability,” and open source MRTG. Such commercial tools provide detailed network statistics, but are limited in their ability to export the data to other tools for cooperative analysis purposes.

[0045] Tools for testing performance of multimedia applications (specifically, VoIP) include the above-cited NetAlly and Chariot tools, as well as Hammer described in Empirix, “Test and Monitoring Solutions for Web, Voice, and Network Applications,”; and VoIP Explorer. While these tools differ in the way they inject voice traffic, they collect similar end-to-end measurements including delay, jitter, and packet loss.

[0046] Other tools that provide some testing functionality for assessing networks for possible VoIP applications include those from Agilent Technologies. Agilent Technologies's suite of tools includes three main components: Voice Quality Tester (VQT), IP Telephony Analyzer, and IP Telephony Reporter. Voice Quality Tester measures voice quality objectively, without having human listeners. This system supports one-way and round-trip delay measurements, echo, and clarity (a measure of voice quality). IP Telephony Analyzer captures RTP packets and calculates various performance metrics, such as packet loss, delay, and jitter for each RTP stream. Additionally, for each connection and protocol, it collects statistics on the number of frames, bytes, and frame errors, and the utilization. IP Telephony Reporter merges the call quality statistics provided by VQT and the packet network statistics provided by the IP Telephony Analyzer by importing result files from both of the components. Agilent's suite measures the impact of IP telephony equipment on voice quality rather than the impact of the data network on quality.

[0047] Cisco Systems provides a solution described in “Cisco VoIP Readiness Net Audit,” that uses proprietary SNMP-based tools for data collection from network devices. The goal of this solution is to assess the general health of the network. The service focuses on performance analysis of routers and switches and delivers an executive report describing the overall network performance and VoIP readiness. It does not integrate voice quality statistics with network device statistics.

[0048] Each of the prior tools mentioned above proves useful in particular circumstances to provide a part of the required set of tools required to assess a network for multimedia application readiness. None of these prior tools, however, fully integrates voice quality metrics with statistics for network devices on the voice path to the degree desired for the multimedia applications of current and future importance. Moreover making selections from the variety of existing tools to accomplish the desired high degree of integration is non-trivial since each tool has different interfaces, data formats, and limited data import/export support. Another major obstacle for integration of disparate tools is that the granularity of time measurements tends to be different for each tool. Few commercial tools provide fine time granularity measurements (i.e., monitoring on the order of seconds). Furthermore, most of these tools require the use of a graphical user interface (GUI), which would require extensive manual intervention to compose sophisticated tests.

[0049] Thus, above-cited prior art techniques, while useful in particular circumstances, suffer from one or more limitations relating to completeness of monitoring or analysis of network entity performance, integration between network measurement, analysis and visualization, or in ease of use in connection with a variety of multimedia and other non-traditional applications.

SUMMARY OF THE INVENTION

[0050] The invention described in this document overcomes the limitations of prior art for the purpose of evaluating a network to determine its suitability for target applications. Evaluation techniques based only on measuring the end-to-end QoS incurred by a target application treat the network as a black box and cannot provide performance diagnosis at the network level. Similarly, techniques based only on measuring the network utilization cannot estimate the end-to-end QoS for the target application. The invention overcomes the shortcomings of both techniques by first determining the network topology and then collecting simultaneous end-to-end QoS and network utilization measurements that can be integrated at the network level. This approach, by tracing the paths of application traffic in order to integrate the utilization of network devices on a path with the QoS incurred by the traffic across the path, allows diagnosing QoS problems to reveal network devices that are the sources for QoS problems.

[0051] In accordance with one aspect of embodiments of the present invention, quality of service (QoS) in a network is evaluated from the perspective of whether VoIP implementations on a given network will perform satisfactorily. More particularly, one illustrative embodiment comprises a framework providing a suite of tools for evaluating a network prior to the installation of voice equipment and applications on that network. Using these tools, network managers can more effectively make decisions regarding design and implementation of VoIP features and services in target networks.

[0052] Illustrative embodiments of the present inventive framework advantageously comprise some or all of these phases: Topology Discovery, Network Device Monitoring, Call Synthesis & Call Quality Monitoring, and Analysis. Though readily finding use in IP networks for voice applications, frameworks in accordance with illustrative embodiments of the present invention are readily generalized for application to other applications with stringent QoS requirements such as multimedia applications and to other than IP networks.

[0053] In accordance with the present invention, the exact arrangement of the devices in the network is discovered and mapped so that the entire topology of the network is known. In discovering and mapping the layer-2 and -3 devices, the user is better able to determine the capabilities of the network. The path of voice traffic between a pair of endpoints is also determined. Thus, data collected on each network device or port on seach device can be related to the path through the network taken by voice packets. Furthermore, it provides a framework for further measurement and analysis of the data to be generated.

[0054] In accordance with practice of illustrative embodiments of the present invention, VoIP QoS metrics are applied to the network elements by injecting voice traffic into the network and measuring end-to-end quality of service for this traffic, illustratively from the perspective of each endpoint. It also proves advantageous in illustrative embodiments of the present invention to monitor load and utilization of network elements routing voice packets. Such monitoring and QoS measurements for injected voice traffic yield QoS results as a function of use and load on the network elements that are on call paths. More specifically, it proves advantageous in accordance with an aspect of the present invention to relate network load on call paths to voice quality parameters to identify problems in the network that are likely to prevent an acceptable VoIP implementation.

[0055] It proves advantageous in use of present inventive network tools to employ synthesized network traffic while making actual end-to-end QoS measurements. Such traffic injection and measurements are performed under a variety of network conditions, including conditions of peak network loading.

[0056] In accordance with the present invention, end-to-end measurements, network utilization measurements, and network topology data are analyzed and displayed in an intuitive visual format in order for the operator to have a better understanding of the problem areas in the network and to better determine if the network is capable of VoIP implementation. Various graphs and tables can be displayed including a display of the network over time to show a movie of how the problems developed. Parts of the network can be color coded to indicate problem areas as well as areas that function properly.

[0057] In application of tools in present inventive frameworks, illustrative embodiments automatically discover the topology of a target network, collect and integrate network element status and VoIP statistics (including voice quality metrics) in evaluating network performance and identifying actual or potential network problems.

BRIEF DESCRIPTION OF THE DRAWING

[0058] The above-summarized invention will be more fully understood upon consideration of the following detailed description and the attached drawings wherein:

[0059]FIG. 1 is a diagram showing an example layer-3 network with route tables;

[0060]FIG. 2 is a diagram showing an example layer-2 network with forward tables;

[0061]FIG. 3 is a diagram showing network devices involved in a traffic flow representing the target application;

[0062]FIG. 4 is a diagram of the system of the present invention;

[0063]FIG. 5 is a flowchart of the Topology Discovery Phase of the present invention;

[0064]FIG. 6 is a flowchart of the Device Discovery Component of the present invention;

[0065]FIG. 7 is a flowchart of the layer-3 topology analysis of the present invention;

[0066]FIG. 8 is a diagram of an example layer-2 network with spanning tree protocol information;

[0067]FIG. 9 is a flowchart of the layer-2 topology analysis of the present invention;

[0068]FIG. 10 is a flowchart of the method for connecting layer-3 elements to layer-2 topology of the present invention;

[0069]FIG. 11 is a diagram of an example for demonstrating multilayer topology analysis;

[0070]FIG. 12 is a flowchart for generating a layer-3 path;

[0071]FIG. 13 is a flowchart for finding a layer-3 path;

[0072]FIG. 14 is a diagram of an example network having an undiscovered router cloud;

[0073]FIG. 15 is a flowchart for finding a multilayer path;

[0074] FIGS. 16-18 are diagrams of parts of an example network being analyzed according to the present invention;

[0075]FIGS. 19A, 19B, 20A-D and 21-23 are graphs showing relationships among the various parameters of the network shown in FIGS. 16-18;

[0076] FIGS. 24-27 are flowcharts of the methods for generating graphs for a network analyzed according to the present invention.

DETAILED DESCRIPTION

[0077] The following detailed description and accompanying drawing figures depict illustrative embodiments of the present invention. Those skilled in the art will discern alternative system and method embodiments within the spirit of the present invention, and within the scope of the attached claims, from consideration of the present inventive teachings.

[0078] A. Notation

[0079] It proves convenient to represent an illustrative network topology using a graph G=(D, L), where the nodes of the graph, D, are a set of devices and the edges of the graph, L, are a set of links. A device of type router or switch is considered a switching device. Let D_(i) and D_(j) be two devices in D where 1≦i, j≦|D|, i≠j. There is an edge between device D_(i) and D_(j) if and only if there is a direct communications path between D_(i) and D_(j). I_(i,j) denotes the jth interface of device D_(i). Each edge out of a node (device) in the graph represents an interface in the network.

[0080]FIG. 3 illustrates the network devices involved in a sample voice call between end-points D₁ and D₅, where endpoint refers to a device that can initiate and respond to voice calls. We assume that the path from D₁ to D₅ is the reverse of the path from D₅ to D₁; a line between two devices denotes a bi-directional edge. Voice packets illustratively pass through three switching devices in FIG. 3, identified as D₂, D₃, and D₄. The interfaces that the packets traverse are also marked on the figure. All network devices that participate in a voice call form the call path. For the illustrative case shown in FIG. 3, the call path comprises D₁, I_(1,1), I_(2,1), D₂, I_(2,2), I_(3,1), D₃, I_(3,2), I_(4,1), D₄, I_(4,2), I_(5,1), D₅.

[0081] It often makes sense to look at the topology or path at a particular network layer. For example, the layer-3 topology is the topology consisting of layer-3 devices and links between them. The layer-2 topology is the topology consisting of layer-2 devices and links between them (e.g., Ethernet links between switches). A layer-3 path between two layer-3 devices is the path containing only layer-3 devices (e.g., hosts and routers) and only layer-3 links (i.e., a direct communication link at layer-3, which may involve a number of switches). The layer-2 path is the path containing only layer-2 devices between network devices that are directly connected at layer 3 (i.e., there is no layer-3 device in the path between the hosts). We are sometimes interested in the set of interfaces used along a path, but uninterested in the network layer of each. Such a path is called the multi-layer path. It is constructed by interleaving the layer-3 path with the layer-2 path on each layer-3 hop. In general, a hop is a unit of a path involving a single link. Note that we assume that paths between devices are static.

[0082] As noted above, objective, measurable metrics useful in quantifying quality of IP telephony calls include end-to-end delay, jitter, packet loss and packet loss burst. End-to-end delay from a source to a destination refers to the difference between the time the source sends the first bit of a packet to a destination and the time the destination receives the last bit of that packet. Jitter refers to variation in delay, illustratively the running average of the differences in inter-packet arrival times. Packet loss from a source to a destination during an interval refers to the ratio of the number of packets lost to the number of packets sent during that interval. Packet burst during an interval refers to the maximum number of consecutive packets lost during that interval. Preferred practice illustratively requires delay in the network of less than 50 ms, jitter of less than 20 ms and packet loss of less than 0.2% for voice calls to be considered acceptable. A call is considered bad as soon as any of these quality metrics fails to meet acceptable criteria.

[0083] In accordance with another aspect of the present invention, it proves advantageous to use Mean Opinion Score (MOS), a widely used criterion defined in ITU recommendation P.800, for assessing voice call quality. MOS typically has a range from 1 (unintelligible sounds) to 5 (perfect score), with voice calls requiring a MOS score of 4 or more to qualify as toll quality. MOS score for a voice call over the data network is a function of delay, jitter, packet loss and packet loss burst. To relate MOS to objective metrics, ITU recommendation G.107 defines an objective score “R factor” that can be mapped to a MOS score. Other particular quality metrics will be used as particular requirements and circumstances may suggest or require.

[0084] B. Framework

[0085] A framework for providing tools used to assess IP Telephony readiness of a network in accordance with illustrative embodiments of the present invention will now be described. This framework is based, inter alia, on relating end-to-end performance metrics to load on network devices. It proves convenient to assume that the principal factor affecting quality of a call is the performance of network devices on the call path. Further, the present inventive framework is advantageously described in terms of four phases: Topology Discovery, Network Device Monitoring, Call Synthesis & Call Quality Monitoring, and Analysis. Each of these phases will now be described separately.

[0086] B.1. Network Topology Discovery Phase

[0087] Discovering the topology of a target network involves identifying the set of devices in the network, the function of each (e.g., router, switch), and interconnections between devices in the network. In particular, topology discovery advantageously identifies the path between any two devices in a target network. It will be readily recognized that the accuracy of later analyses depends on accurately identifying network elements on a voice call path. Topology information discovered in the topology discovery phase of embodiments of the present invention find use in a variety of network operations, e.g., measurement, control and configuration—as will be illustrated below.

[0088] As noted above, layer-3 topology refers to connections between layer-3 (e.g., IP) addresses and devices associated with such addresses. Layer-2 topology, correspondingly relates to connections between ports. Importantly, recent increased use of virtual LANs (VLANs), has occasioned increased use of layer-2 switches in place of layer-3 routers, except at the edges of enterprise networks. With this paradigm shift, it becomes more important to fully discover topology involving layer-2 switches and associated impairments they introduce. It is especially important to note that in networks with VLANs, a layer-2 path may traverse many devices that remain hidden at layer 3. In such situations, discovering only layer-3 topology can lead to misleading results. Accordingly, illustrative embodiments described below include techniques for systematically performing both layer-2 and layer-3 topology discovery.

[0089] B.2. Network Device Monitoring Phase

[0090] During the network device-monitoring phase, it proves useful to collect network load statistics from devices in the network that are discovered in the topology discovery phase. Various statistics may be used as an indication of load on a network device. For instance, for a given device, the number of incoming and outgoing octets on all of its interfaces, the number of discarded packets on all of its interfaces, and CPU usage, among other factors, constitute measures of load. Because call quality can be affected by adverse network conditions of even short duration, it proves advantageous to collect device statistics at appropriately fine resolution.

[0091] B.3. Traffic Synthesis & Traffic Quality Monitoring Phase

[0092] It proves advantageous in illustrative embodiments of the present invention to carry out synthesis (e.g., injecting voice traffic) of traffic flows representing the target applications while performing network device monitoring. In particular, upon injecting this traffic two types of information are advantageously collected: end-to-end quality metrics and path information. In the subsequent description these flows will be referred to as “calls.” Call quality metrics of interest are illustratively the above-noted end-to-end delay, jitter, packet loss, and packet loss burst. Path information proves to be of special importance in subsequent analysis, as will be seen below.

[0093] B.4. Analysis Phase

[0094] After collection of call and load statistics for a target network over an appropriate time period, an analysis phase begins with the integration of call and network device load statistics. Timestamps at which measurements are collected prove very useful in such integration. An important aspect of network assessment is the identification of bad calls and the network devices employed on call paths for such bad calls. Analysis of such data, advantageously in light of expertise of a network engineer, provides a basis for determining root causes of network problems. That is, the large amount of information collected must be analyzed in a systematic way, often based on prior experience, to efficiently isolate problematic devices or other causes. Further, it proves useful to employ certain heuristics in these analyses to help identify such problematic network devices.

[0095] Each phase of a present inventive framework will now be further detailed in the context of an illustrative system architecture.

[0096] B.5. System Architecture

[0097]FIG. 4 shows an illustrative system architecture for application of the framework phases described above. In FIG. 4, arrow directions correspond to typical directions of respective information flows. The illustrative system of FIG. 4 comprises a functional block for each of the main framework elements, viz., topology discovery 310, element load monitoring 320, call generation & call quality monitoring 330, and analysis (with associated visualization tools) 350. Each of these functional units is shown in FIG. 4 in communication with data store 340 and an illustrative target network 300. Below we describe each component. The functional elements 310, 320, 330, 340 and 350 will be realized in accordance with particular embodiments of the present invention as general purpose processors under the control of respective software modules. In appropriate cases, resources of such processor(s) and software modules will be shared between or among the several functional elements.

[0098] To the extent that functional elements 310, 320, 330, 340 and 350 in FIG. 4 are not physically integrated, e.g., in a common processor configuration, they are advantageously connected over a portion of network 300 or over a separate network (with interconnection to one or more target networks 300). Thus, while some embodiments of the present invention will deploy some or all of these functional elements at a common location (or within a common processing arrangement) serving a current target network, no such common location is necessary or appropriate for all embodiments. In particular, it may prove advantageous to employ a data store 340 at a given location for serving database requirements for a plurality of target networks, while having distributed instances of one or more of the remaining functional elements dedicated, at least for an evaluation period, to a particular network. In other embodiments, one or more functional units, e.g., network element load monitoring unit 320 at a particular networked location, may perform its functions for a plurality of target networks. In appropriate cases, functional elements will be replicated to serve respective portions of a network.

[0099] C. Topology Discovery

[0100]FIG. 5 shows a breakdown of the components of the Topology Discovery Phase into three main parts. First is Device Discovery (410), which discovers the set of devices in the network and collects data from them. Second is Topology Analysis (420), which finds the connections between the devices discovered in the preceding part. Third is the Path Analysis (430), which finds the paths between devices. Topology Analysis and Path Analysis are described separately for each network layer (e.g., layer 3) since the implementations of each differ greatly (421-423 and 431-433). Note that the first part (Device Discovery) must communicate with the actual network, but the other parts may run off-line using results collected by the device discovery part.

[0101] The invention, in addition to automatic topology discovery, employs manual intervention to reflect user input on the network topology. This feature complements the heuristics described in the following sections for providing accurate topology and path information as well as resolving ambiguities in the network topology. The user can input the manual edits by any of a number of ways: e.g., GUI, file input or interacting with the visual network topology display that is described in Section F on Visualization and Analysis to modify or add link entries to the topology.

[0102] C.1. Device Discovery

[0103] The primary purpose of the Device Discovery part of the Topology Discovery Phase is to find the devices in the network. In doing so, it is useful to classify the devices, filter invalid responses, and collect device configuration data (e.g., MIB tables) from the devices to be used in other phases. A flowchart of an illustrative example of an algorithm for the Device Discovery processes is shown in FIG. 6.

[0104] The first step (451) is to probe addresses in the network to get a list of addresses used by devices in the network. For example, SNMP_GET messages can be used as the probe message. An SNMP_GET message is a fundamental SNMP message to request a MIB object from a device. Thus, if we send a get message for a common MIB object (such as system.sysOID) to each address in the network, we expect all devices using SNMP to reply with the requested object. A list of addresses is obtained by recording the addresses that respond to the requests.

[0105] The second step, alias detection, (452) identifies cases where one device responded to multiple addresses (i.e., the address is aliased). It is common for devices (e.g., routers) to be assigned multiple addresses. Since we are interested in a list of devices, rather than a list of addresses, it is advantageous to identify which addresses belong to the same device. Given that we can identify when a single device responded to multiple addresses, this step marks the repeated addresses such that the subsequent steps will only use one of the device's addresses.

[0106] An example of how this can be done is as follows. Certain data, such as physical addresses (e.g. MAC addresses), are assigned uniquely to devices and are readily available via SNMP (the standard interfaces MIB contains the physical address used for each interface on the device). Thus, if a device responded to multiple addresses, the interface tables collected from each of its addresses would have the same physical addresses, and interface tables collected from addresses used by distinct devices would have different physical addresses.

[0107] The third step (453) is to filter devices that responded to a special address such as a broadcast or network address. It is common for devices to respond to requests to either a broadcast address or network address. This step corrects for data collected from these special addresses. It first identifies the set of addresses that are broadcast or network addresses. Next, it determines if data in step 452 used such an address. If so, step 452 is repeated for that device, but excluding the special addresses.

[0108] An example of how this step can be implemented using SNMP is based on learning the subnet addresses for the discovered devices. The relevant subnets are available in the device's ip.ipAddressTable MIB object (and, similarly, in the ip.ipRouteTable MIB object). From the address table, the network address and the broadcast address can be calculated easily for each subnet the device belongs to; the network address is in the table directly and the broadcast address can be easily calculated from the network address and the network mask, which are in the address table. After determining the network addresses and broadcast addresses, this step checks if any device is using addresses that match these addresses. If so, step 452 is repeated for that device, but the second time through step 452, it checks the list of special addresses found in step 453 so that the device is not assigned a special address.

[0109] The fourth step (454) is to classify devices by their device types. This step identifies the type of each device (e.g., router, switch, printer, host) so that the system can later request information by device type (e.g., request a list of all routers) and layer.

[0110] An example of how this step can be implemented using SNMP is to use a lookup table that maps known system.sysOID MIB objects to the device type. The system.sysOID MIB object is a sequence of numbers that identifies the type of device. The first part of the system.sysOID MIB uniquely identifies the device's vendor. The rest of it is assigned by the vendor to more specifically describe the category of devices (e.g., model, product line). The mapping for known system.sysOIDs can be stored in a database.

[0111] Another example is to use a heuristic approach based on specific MIBs. The heuristic may have rules such as “if the device uses the Printer-MIB, it must be a printer” or “if the device uses Bridge-MIB's dot1dBaseType, the device must be a switch”.

[0112] Another example is to use network mapper (nmap) which is an open source utility for determining the hosts in a network as well as information pertaining to these hosts such as the type of service each host provides, operating system version information, etc.

[0113] The fifth step (455) is to collect device configuration data (e.g., MIB tables) from each device. This step collects the configuration data needed by other parts of the system from each known device. In this step, depending on the device type, different tables may be collected from different devices. Standard MIB tables advantageously describe the necessary configuration data in vendor-independent tables that are often accessible from the devices (e.g., via SNMP).

[0114] Finally, the sixth step (456) is to store the results of the previous steps. The device discovery results are stored in stable storage such as a database. Though it is conceptually easier to describe this step as a separate step at the end, in practice, it is easier to store the results as they are being collected.

[0115] It should also be noted that the sequential order of these steps (as presented in FIG. 6) is not essential. For example, it may be easier to perform the device classification in parallel with alias detection.

[0116] Network administrators may use access control mechanisms to protect against unwanted access. For example, the SNMP protocol (SNMPv1 and SNMPv2) uses a concept called a community string to provide access control. A device only responds to requests that use a community string that it is configured to use. Network administrators provide protection against unauthorized access by configuring the devices to use a non-standard community string. In this context, the system administrators can provide the user with any non-standard community strings used in the network.

[0117] In the case where non-standard or multiple access control parameters (e.g., community strings) are used, a slight modification of the steps above are needed. In step 451, the probe must be repeated for each control parameter. When a device responds, the system must record which control parameters were used for that device. In the remaining steps, when requesting data from a device, an appropriate set of parameters needs to be used.

[0118] C.2. Topology Analysis

[0119] The second part of the Topology Discovery Phase, Topology Analysis (shown as 420 on FIG. 5), determines the network topology. This part is further divided into (a) the layer-3 topology (421), (b) the layer-2 topology (422), and (c) the multilayer topology (423). Multilayer topology analysis refers to identifying connections between layer-3 and layer-2 devices (423).

[0120] C.2.1. Layer-3 Topology Analysis

[0121] The layer-3 topology is derived from the route tables from each router in the network. The output is both the set of layer-3 links between routers and the set of devices that may be connected to each router. In parts of the network where layer-3 devices have not been discovered, the topology may have an “undiscovered router cloud,” which indicates where routers may be missing from the discovered topology.

[0122] The route table provides important data about the router. It provides:

[0123] 1. a list of addresses assigned to the router (which is also contained in the ipAddress MIB table),

[0124] 2. the subnets that are directly connected to the router,

[0125] 3. the set of addresses used by neighboring routers, and

[0126] 4. a list of rules describing how to route packets through the network.

[0127] Recall from above that the route table is divided into direct and indirect route entries. The direct route table entries list the subnets (given as a subnet address and subnet mask) directly connected to the router as well as the address the router uses on that subnet (as well as the interface the address is assigned to). The indirect route entries give an address on a neighboring router. A basic purpose of the table is to specify the rules that the router uses to determine where to route each incoming packet (based on the packet's destination address).

[0128] An illustrative example of an algorithm for generating the layer-3 topology is shown in FIG. 7. It finds the layer-3 links between routers by searching through each router's route table (471). During the search, three tables are created: the address table, the nexthop table, and the subnet table. The tables that are updated depend on the route type (472). The first table, the nexthop table, is a mapping from a device to the addresses used by neighboring devices. The second table, the address table, is a mapping between addresses and the device the address is assigned to. The third table, the subnet table, lists the subnets that are directly connected to each router (and the router's address on the subnet). For each indirect route, an entry is added to the nexthop table (473), unless the table already has a matching entry. For each direct route, an entry is added to the address table (474), unless the table already has a matching entry. An entry to the subnet table may also be an entry added from the direct route entry (475). The subnet table is used later to find the layer-3 links (e.g., between routers and other layer-3 devices). Such links are found by selecting the subnet entry that contains the address of the non-router device (e.g., host).

[0129] After the search is complete, a simple algorithm can be applied to extract the layer-3 links from the tables. For each entry in nexthop table, if the next-hop address has an entry in the address table, there is a link between the device in the nexthop table entry and the one in the address table entry (476). If there is no matching entry in the address table entry, it indicates that there is a router that has not been discovered that uses the address in the nexthop table entry. All the undiscovered routers can be combined to form what is called an undiscovered router cloud (477).

[0130] C.2.2. Layer-2 Topology Analysis

[0131] Next, we present the layer-2 topology analysis part (shown as 422 in FIG. 5). One approach uses information about the spanning tree. Other approaches may be needed when the spanning tree information is unavailable (or the spanning tree is not used). In such cases, manual intervention also provides resolution from the user.

[0132] The terms switch and bridge can be used interchangeably; in the context of the spanning tree, the term bridge is generally used. To detect loops in the topology, bridges run a spanning tree algorithm. From graph theory, a spanning tree is a tree (i.e., a loop-free graph) connecting all the nodes in the graph. In networking terms, the nodes are switches and the edges are layer-2 links. The links in the spanning tree may forward frames, but the links not in the spanning tree (i.e., in a blocking state) may not forward frames (unicast or broadcast). As a result, the active topology (the set of switches connected by the forwarding links) is loop-free.

[0133] The most common algorithm used is the industry standard IEEE 802.1D Spanning Tree Algorithm Protocol (see ANSI/IEEE Std. 802.1D: Part 3 Media Access Control (MAC) Bridges, 1998 ed., 1998). It defines these terms:

[0134] Bridge ID, an 8-octet identifier consisting of a 2-octet priority followed by the lowest 6-octet physical address assigned to the bridge,

[0135] Bridge Port, a two octet identifier for an interface on a bridge,

[0136] Designated Root, the Bridge ID of the root bridge seen on the port,

[0137] Designated Bridge, the Bridge ID of the bridge connected to a port (or its own Bridge ID),

[0138] Designated Port, the Bridge Port of a port on the Designated Bridge, Path Cost, the cost assigned to a link, and

[0139] Root Path Cost, the sum of the Path Costs along the path to the root bridge.

[0140] Each bridge records the values for Bridge ID, Bridge Port, Designated Root, Designated Bridge, Designated Port, Path Cost, and Root Path Cost for each port in the Spanning Tree Port Table. The values are updated by exchanging messages with its neighbors. The messages allow each bridge to find (a) the root bridge and (b) the shortest path (i.e., the lowest cost path) to the root. The messages include the bridge's Bridge ID and Bridge Port, the Designated Root, and Root Path Cost values it has learned thus far to each neighbor.

[0141] Informally, this standard algorithm works as follows. Upon receiving a message, the bridge learns (a) of a new Bridge Root if the neighbor's Bridge Root has a lower Bridge ID than the current Bridge Root, or (b) of a better path to the Bridge Root if the new Root Path Cost is the lowest among the bridge's ports. When the bridge updates its Designated Root ID or shortest path to root, it sends another message to its neighbors. The protocol converges when all bridges have the same Bridge Root and the spanning tree includes the lowest cost paths from each bridge to the Bridge Root.

[0142] Each bridge maintains in its local storage the data learned after running the Spanning Tree Algorithm, including the fields shown in Table 2. The layer 2 topology analysis requires obtaining the spanning tree data from each bridge, for example, by using the SNMP protocol to query the dot1dStpPortTable defined by the Bridge-MIB (see, “Decker, Langille, Gijsinghani, and McCloghrie, “Definitions of Managed Objects for Bridges”, July 1993, RFC 1493). The Bridge-MIB also provides tables to identify the device's bridge address and the translation between the port number used in the Bridge-MIB tables to identify each of the device's interfaces, and the interface index (ifIndex) used to identify each interface in most other MIBs. For purposes of illustration, we refer at times below to the Bridge-MIB in order to clearly explain the operation of the layer-2 topology analysis. TABLE 2 MIB Objects for Bridges MIB Object defined by Bridge-MIB Description dot1dBridge.dot1dBase.dot1dBaseBridgeAddress Bridge ID dot1dBridge.dot1dBase.dot1dStpPortTable results from Spanning Tree Algorithm dot1dBridge.dot1dBase.dot1dBasePortTable mapping from Bridge Port to ifIndex dot1dBridge.dot1dBase.dot1dTpFdbTable forwarding table interfaces.ifTable MID-II interface table (per interface description and statistics)

[0143]FIG. 8 gives an example network that is identical to the one in FIG. 2 except that two blocked links (shown as dashed lines) have been added and it provides the simplified spanning tree tables for each switch. In the spanning tree tables, the first column is the port on the local switch, the second column is the Designated Bridge (for simplicity the switch label is used instead of the Bridge ID), the third column is the Designated Port (again for simplicity, the port number is used instead of the 2-octet string representation), the fourth column is the port state-either forwarding (Fwd.) or blocking (Block), and the fifth column is the Root Path Cost, (which is set to 0 where there is no path to the root on the port). We assume that each link has a cost of 10 and that the root bridge is S32.

[0144] As an example of how this standard protocol works, consider S31. Port 64 connects directly to S32, the root bridge. S32 must send a message to S31 (which it receives on port 64) to indicate that there is a path to the root from S32 using port 66 with a cost of 10. Thus, the switch is able to fill in the entry for port 64. S30 sends a message to S31 (port 63) saying that its shortest path to the root is through that link. Because S31 is the designated bridge for the link, the designated port (which always belongs to the device that is the designated bridge) is 63. Thus, S31 only records that port 63 connects to a link away from the root. For port 65, it finds that there is a path with a cost 20 toward the root through port 70 on S33. Since S31 already has a lower cost path toward the root, the link is set to the blocking state. The address (S33), port (70), and cost (20) are recorded in the table, for port 65.

[0145] An illustrative example of an algorithm for determining the layer-2 topology follows directly from the data stored in the Bridge-MIB and is shown in FIG. 9. The algorithm assumes that the switches have been identified by the Device Discovery part and the appropriate MIB tables from each layer-2 switching device have been collected. The algorithm operates as follows.

[0146] First (481), the algorithm finds the bridge address(es) for each device. Normally, this information is collected directly from the BridgeMIB. In practice, vendors do not always comply fully with the Bridge-MIB standard and may use other bridge addresses not identified in the Bridge-MIB. These cases are handled using vendor-specific variations of the following technique. The physical addresses used by each device can be learned by querying its interface table MIB and/or its Forward Table MIB. (A forward table MIB entry typically has a field to indicate that the entry's address refers to the local device itself). Each bridge address found to correspond to one of these physical addresses is identified as a bridge address for the device.

[0147] Next the topology analysis algorithm identifies the layer 2 links in the network, as follows. Recall that each layer 2 link is identified by a pair of device identifiers, say D_(i) and D_(j), and by a particular interface on each of the devices, say I_(i,m) and I_(j,n). The algorithm iterates (482) through the spanning tree table entries of all layer-2 switching devices in the network. For each entry in the spanning tree table of a device D_(i), that identifies for port P_(i,m) the designated bridge is D_(j) and the designated port is P_(j,n), the algorithm processes the entry as follows: If the designated switch D_(j) in the entry is the same as D_(i) then the entry is skipped (483). Otherwise the entry indicates there is a layer-2 link between D_(i) and D_(j) using ports P_(i,m) and P_(j,n) (484). The port numbers P_(i,m) and P_(j,n) thus identified are mapped to the interface IDs of the link by locating the dot1StpPortTable MIB entry at each device that matches each the device's port number. That is to say, the entries for ports P_(i,m) and P_(i,n) in the dot1dStpPortTable MIBs of D_(i) and D_(j), respectively, provide the ifIndex (485) values I_(i,m) and I_(j,n) that are recorded by the algorithm to identify the particular layer 2 link from D_(i) to D_(j). Each entry is processed in this same manner until all of the layer-2 links are identified. The set of identified links, along with the layer 2 devices already identified earlier, comprise the output of the layer-2 topology analysis algorithm.

[0148] The IEEE 802.1D Spanning Tree Algorithm lacks support for VLANs. To support VLANs, vendors have introduced variations of the algorithm to include a VLAN tag. To have load-sharing across VLANs, it is common to have separate spanning trees per VLAN. This requires using a different root election procedure. While most variations on the 802.1D algorithm are proprietary and non-interoperable, we incorporate this information as follows.

[0149] In networks with VLANs we would like to find the spanning tree for a particular VLAN. Such devices generally have a proprietary (vendor specific) MIB that is a variation of the dot1StpPortTable but including a VLAN field. The process can be repeated using only those lines in the vendor specific stpPortTable whose VLAN field match the given VLAN ID. For example, Avaya Inc.'s Cajun™ switches use the promBridge-PortTable table, which includes a VLAN identifier that can be mapped to the VLAN number using the promVlanTable table.

[0150] Without VLANs, a link will only appear in one switch's StpPortTable, in particular, the switch that is farther from the bridge root. With VLANs, the bridge root may change from one VLAN to another. Thus, the link could appear in both switches' StpPortTable tables.

[0151] The spanning tree approach only works when the devices use the spanning tree protocol. In cases where the spanning tree protocol is not used, an alternative approach is needed. One such approach is to find the layer-2 topology using the forwarding tables from each switch. For examples of solutions to this problem, see Y. Breitbart, et al., “Topology Discovery in Heterogeneous IP Networks,” in Proc. of the 2000 IEEE Computer and Communications Societies Conf. on Computer Communications (INFOCOM-00), (Los Alamitos, Calif.), pp. 265-274, Mar. 26-30, 2000 and B. Lowekamp, D. R. O'Hallaron, and T. R. Gross, “Topology Discovery for Large Ethernet Networks,” in ACM SIGCOMM 2001, (San Diego, Calif.), pp. 237-248, Aug. 27-31, 2001.

[0152] C.2.3. Multilayer Topology Analysis

[0153] The third part of Topology Analysis is finding the connections between the layer-3 entities (e.g., hosts and routers; referred to herein simply as hosts) and the layer-2 switches (See 423 in FIG. 5).

[0154] Two devices are said to be directly connected when the path between them does not include any other discovered device. A device, D_(t), is directly connected to I_(s,i), the ith port on device D_(s), when D_(t) and D_(s) are directly connected and the path between them uses I_(s,i). A switch trunk is a link between two directly connected switches. The switch ports to such a link are considered on the trunk.

[0155] An example way of deriving the connections between layer-3 and layer-2 devices involves searching the forwarding tables of layer-2 devices for the physical addresses of the layer-3 devices. A switch's forwarding table includes entries with a physical address and the port number it uses to forward packets to the host addressed by the physical address, M. The -layer-3 device addressed by M (i.e., the host assigned the physical address, M) is referred to as Host(M). We define F(s,M) as the port, I_(s,i), for which the switch, D_(s), has a forwarding entry for M on that port or the empty set where there is no such entry in D_(s)'s forwarding table. In a valid network configuration, each non-empty F(s,M) is (a) a port on the switch trunk from D_(s) one hop closer to Host(M) in the topology, (b) a port directly connected to Host(M), or (c) both. The third case is when the trunk and the link to the host are shared or connected to a switch that was not found in layer-2 discovery.

[0156] The rule, If switch D_(s) has a forwarding entry for physical address M on port I_(s,i) that is not on a switch trunk, Host(M) must be directly connected to the switch, provides a simple, efficient sufficiency test to discover the port directly connected to a device. That is, if any switch has an entry on a non-trunk interface for a physical address used by the host, it must be directly connected to that port. In practice, this sufficiency condition generally holds because switch trunks are seldom shared with hosts and the switch directly connected to the host generally has a forward table entry for the host.

[0157] Note that the converse of the rule is not necessarily true. Two switches, D_(s) and D_(t), and a host, D_(h), could all be connected via a hub that was not previously discovered. In this case, the ports on each switch to the hub, I_(s,i) and I_(t,j), are directly connected because the path between them does not involve any other switch in the topology. Since D_(h) is also directly connected to D_(s) and D_(t), it is possible for a host to be directly connected to a switch via a switch trunk.

[0158] The first heuristic is to apply the above rule. A second heuristic may be used to handle cases not covered by the first. The second rule states Given switch D_(s) has a port I_(s,i), such that F(s,M) is non-empty and F(s,M)≠I_(s,i), Host(M) cannot be located on the branch of the topology connected to I_(s,i).

[0159] This rule can be used to identify the smallest region (set of switch ports among the known switches) that a target host might connect to. FIG. 10 provides a flowchart of an illustrative example of an algorithm for applying the second rule to find the location of a layer-3-device with respect to a layer-2 network.

[0160] The algorithm to locate a host that has physical address M_(x) in the layer-2 network is as follows. Recall that the objective is to automatically identify the smallest possible set of interfaces I_(possible)(M_(x)) such that it cannot be (automatically) determined that the host in question is not connected to an interface in I_(possible)(M_(x)). In the best possible case, I_(possible)(M_(x)) will contain exactly one interface when the algorithm completes. First (491), the algorithm initializes I_(possible)(M_(x)) to contain all interfaces on all switches, as identified previously in the discovery part. The remaining steps serve to remove, or “prune”, interfaces from I_(possible)(M_(x)).

[0161] Next (492), the algorithm searches each forward table for any non-trunk entry that definitively identifies I_(possible)(M_(x)) as being connected to a single interface, as given by heuristic rule one earlier (493, 497). If no such definitive entry is found, then the algorithm searches according to heuristic rule two for entries that do not identify M_(x) as the target address, and uses these entries to prune the set I_(possible)(M_(x)). In other words the algorithm considers each switch D_(s) and port I_(s,i) such that F(s, M_(x))=I_(s,i). As an optimization, if D_(s) has been removed from the region, the entry provides no additional information and can be skipped (494). Otherwise, the algorithm applies the heuristics described above.

[0162] Next (495), by the second rule, the host must be located in the subtree rooted at I_(s,i) (conversely it may not be in any subtree rooted at any other port on D_(s)). Thus, the algorithm removes all ports on the switches in subtrees rooted at any port on D_(s) other than I_(s,i), and it removes all ports on D_(s) other than I_(s,i).

[0163] Once all forward table entries have been processed (496), the resulting region of the network, defined by the interfaces in I_(possible)(M_(x)), is the minimal region where the host might be connected (given the topology and forward table entries). Recall that user input as discussed earlier, resolves ambiguities whenever necessary, such as when I_(possible)(M_(x)) contains more than the desired single interface.

[0164] The following examples illustrates how to locate layer-3 devices Host(M_(d)), Host(M_(e)), Host(M_(f)), and Host(M_(g)) on the sample network with sample forwarding table entries in FIG. 11. The switches in the figure are labeled as switches; the hubs and hosts (e.g., H1) are hypothetical and serve to denote network locations.

[0165] 1. For Host(M_(d)), the only forwarding entry is −F(A,M_(d))=2. Thus, the region contains only I_(A,2). We could have come to the same conclusion by noting that I_(A, 2) is a non-trunk.

[0166] 2. For Host(M_(e)), there are two forwarding entries F(A,M_(e))=3, and F(B,M_(e)=1. The first entry eliminates the ports 1, 2, and 4 from A. The second entry eliminates C, D, and ports 2-4 from B. The resulting region contains I_(A,3) and I_(B,1), suggesting the host is located where H2 is shown.

[0167] 3. For Host(M_(f)), there are two forwarding entries F(A,M_(f))=3, and F(C,M_(f))=1. As above, the first entry eliminates ports 1, 2, and 4 from A. The second entry eliminates just ports 2-4 from C. The resulting region is shown in FIG. 10 by the dashed line.

[0168] 4. For Host(M_(g)), there are two forwarding entries, F(A,M_(g))=3 and F(B,M_(g))=3. As above, the first entry eliminates ports 1, 2, and 4 from A. The second entry eliminates ports 1, 2, and 4 from B, as the rest of A. The remaining region is I_(B,3) and all ports on C and D. Note that if we processed the forwarding entries in the opposite order, F(B,M_(g)) would have eliminated A, and there have been no need to process F(B,M_(g)).

[0169] The algorithm inputs the physical address of a host, but the user generally will only have the host's IP address. The router's ip.ipNetToMedia table can be used to find the IP address for the given physical address. If the host is a router, the path should include the port it uses to connect to the switch network, which is determined from the ip.ipAddrTable table. After learning the port to the switch network on the router, the physical address can also be found in its interface.ifTable table.

[0170] C.3. Path Analysis

[0171] The third part of the Topology Discovery Phase, Path Analysis (shown as 430 on FIG. 5), discovers the path network traffic between two devices takes through the network topology. This part is further divided into the layer-3 path (431), the layer-2 path (432), and multilayer path (433). It is worth noting that each hop in a layer-3 path involves a different subnet and the layer-2 path analysis for each subnet is independent of the rest of the other subnets along the layer-3 path.

[0172] C.3.1. Layer-3 Path Analysis

[0173] An illustrative example of an algorithm for finding the layer-3 path (431) between two layer-3 devices is shown in FIG. 12. It contains three main parts, described in detail later. Briefly, the algorithm first finds the routers connected to the source and destination hosts (501) referred to as the first and the last device, respectively. Then the algorithm attempts to find the path between the first and the last routers (502) If the path completes successfully, the algorithm is done (505). Otherwise, the algorithm (503) attempts to find the path from the destination and combines the partial paths with a undiscovered router cloud (504). The first and the last router are the default routers for the source and destination hosts, respectively. A convenient method for finding the default router of a host (501) is to examine the processed route tables from FIG. 7, in particular the subnet table, 475. A host's default router must have a direct route entry for the subnet containing the host, and hence, an entry in the subnet table for the host. The default router can be found by scanning the subnet table for the subnet that contains the host.

[0174]FIG. 13 shows a flowchart of an illustrative example of how to build the layer-3 path between two layer-3 devices assuming that the first and last routers—can be determined and that all the route tables for each intermediate router are available (512).—Using the route table entries for each router in the path and the first and last routers, it is simple to trace the route to the destination address. The path can be found as follows:

[0175] 1. Start by setting the current router to the first router (511).

[0176] 2. From the current router, look up the next-hop address for the destination address, noting the egress interface of the current router and the ingress address of the next-hop router (512).

[0177] 3. The ingress interface of the next-hop router and egress address of the current router can be found in the next-hop router's route entry back to the current router (513). (Alternatively, we could also get the egress interface of the next-hop router from the next-hop router's address table; and the egress address of the current router from its route table).

[0178] 4. Next, set the current router to the one given by the next-hop address (514).

[0179] 5. Repeat last three steps until the last router is reached (515).

[0180] A variation on this is to change the termination criteria so that the route entry gives a local route entry.

[0181] Experience from running this algorithm has shown that vendors interpret the meaning of the MIB specifications differently. The RouteNextHop field, in particular, has ambiguous interpretations. When the route entry is to a remote device (i,e., an indirect route entry), the RouteNextHop field is always the IP address on the remote device. When the route is a local route (i.e., a direct route entry), however, the meaning of the field has different interpretations. By RFC 1354 (see, F. Baker, “IP Forwarding Table MIB”, July 1992, RFC 1354), the RouteNextHop field should always be a local IP address. By RFC 2096(see, F. Baker, “IP Forwarding Table MIB”, January 1997, RFC 2096), which replaces RFC 1354, the RouteNextHop field (ipCidrRouteNextHop) should be 0.0.0.0 unless the route is to a remote device. Some implementations using the first standard use the later convention. For devices using the second convention (i.e., reporting 0.0.0.0 as the next-hop address) another step is needed to find the egress IP address. The route entry still gives the RouteIfIndex, which is the index of the interface where the packet goes. It is possible to find an IP address in the ipAddrTable (another standard MIB object from RFC 1213, which has the IP addresses assigned to the device, the interface each IP address is assigned to, and the subnet mask to use with each address) by scanning the table and selecting the IP address from an entry that matches the interface index.

[0182] So far, we have assumed that the route entries for each router in the path between two hosts are available. For non-trivial networks, this situation is seldom the reality. When data is unavailable for routers on a path, (i.e., SNMP data is unavailable from the router) the problem changes from listing all routers in the path to listing as much of the path as possible.

[0183] One approach to address this case is to give the path as the actual path with the router that did not respond to SNMP removed. Another approach is to include the parts of the path from the first host to the first missing router and last missing router to the second host. The second approach is not only easier to implement but can also be—more conservative given the lack of information—. Consider the configuration in FIG. 14. It shows the actual path between two hosts; R2 and R4 do not respond to SNMP requests. If the only information available is what is known through SNMP, we cannot exclude the possibility that there could be a link from R2 to R4. For this reason, we are content to treat the part of the path between the missing routers as an “undiscovered router cloud.” If we do not limit ourselves to SNMP data and we are capable of running an active probe between the two hosts (such as traceroute), we could conclude that R3 is in the middle of the route.

[0184] A more detailed summary of putting together the steps shown in FIG. 12 follows. First, it finds the default router for the source address and destination address (e.g., by using the subnet table) (501). Next, it attempts to find the one-way path to the destination address (502). If the one-way path reaches the destination, the path is complete (505). Otherwise, the one-way path ends at the “undiscovered router cloud.” To complete the path, we then run the algorithm on the reverse path (i.e., from the destination host toward the source) until it reaches the “undiscovered router cloud” (503). (In the unlikely case that the path in the reverse direction reaches the original source host, we can simply return the reverse path in reverse order.) The addresses into and out of the cloud are known from the nexthop address entries of the known routers. The resulting path is the first path followed by the “undiscovered router cloud”, followed by the second one in the reverse order (504). For example, the path in FIG. 14 would be (I_(R1,1), R1, I_(R1,2), I_(R2,3), undiscovered router cloud, I_(R4,9), I_(R5,11), R5, I_(R5,12)). Recall that user input as discussed earlier, resolves ambiguities whenever necessary.

[0185] C.3.2. Layer-2 Path Analysis

[0186] The next part of Path Analysis is to find layer-2 paths between devices connected directly at layer 3. (432 in FIG. 5). All traffic within a layer-2 network must be contained in a single subnet. Each layer-3 hop in a layer-3 path spans a single subnet. Thus, the layer-2 path analysis is applied within the context of a single subnet.

[0187] An example of a method of constructing a layer-2 path between two hosts is as follows. First, for each host, we find the region in the layer-2 topology where the host may be located (e.g., as described in FIG. 10). Recall, the meaning of the region is the minimal subset of the topology where the host may connect to. That is, the host may be connected to any port in the region, and there is no data to choose a smaller region.

[0188] These properties of the region and the property that the active layer-2 topology forms a tree lead to two cases for determining the path between the hosts-either the regions (i.e., the regions where the source or destination host may be connected) are mutually exclusive or they overlap.

[0189] If the regions are mutually exclusive (i.e., they do not overlap), the path between the hosts must contain the active links in the topology that connect the regions. There can only be one such path because the active layer-2 topology is a tree and regions are continuous.

[0190] If the regions overlap, there is a possibility that the hosts are connected to each other (e.g., they connect to an undiscovered hub in an office which connects directly to a single switch port). In this case, the path is empty because there is a possible case where no discovered switch is along the path. Recall that user input as discussed earlier, resolves ambiguities whenever necessary.

[0191] C3.3. Multilayer Path Analysis

[0192] The third part of Path Analysis is to find the multilayer path (433 in FIG. 5). Recall that a multilayer path between two hosts is the layer-3 path interleaved with the layer-2 path for each hop along the layer-3 path. Also recall that a layer-2 path is defined on a subnet (such as a hop in the layer-3 path).

[0193] An illustrative example of an algorithm for finding the multilayer path between two devices is shown in FIG. 15. The first step is to find the layer-3 path (531). For each hop on the layer-3 path (532), the algorithm finds the layer-2 path (533). Finally, the two sets of paths need to be combined (534).

[0194] The first two steps use the output from 431 and 432 (in FIG. 5) respectively. An illustration of how the third step (534) may be done follows. Table 3 defines classes of hops in the multilayer path. TABLE 3 Multilayer Hop Classes Class Definition L3—L3 hop between layer-3 devices where we have no layer-2 information L3-Cloud hop from a layer-3 device to next-hop addresses in the “-undiscovered router cloud” Cloud-L3 hop between the next-hop addresses in the “undiscovered router cloud” and a layer-3 device L2—L2 hop between two layer-2 devices L3-L2 hop from layer 3 to layer 2 device L2-L3 hop from layer 2 to layer 3 device

[0195] Table 4 shows the data used by each hop class. Device ID is a number assigned to each network device. An L3-L3 hop has layer-3 information for each side. Such a hop is only used when there is no layer-2 path data along the layer-3 hop. The L3-Cloud hop is used to give the known IP addresses of the routers on the edge of the “-undiscovered router cloud.” These addresses may have been found using a discovered router's route table (in the next-hop field), but we have no information about the device using the address. The Cloud-L3 hop denotes the hop from the “undiscovered router cloud” to a layer-3 device. The L2-L2 hop connects two layer-2 devices; the pertinent data about the hop is the device ID of each device, the interface used on each device (or 0 to indicate that the port number is unknown), and the VLAN used by each device (or 0 to indicate that VLANs are not used). The L3-L2 hop and L2-L3 hops are used to go between layer-3 and layer-2. The L3 part of these hops have the information from the layer-3 hop (i.e., the device ID, IP address, and interface). The L2 part of these hops is essentially used as a placeholder. It has the same device ID as the L3 part and 0 as the interface. The next L2-L2 hop after a L3-L2 hop (and the last L2-L2 hop before an L2-L3 hop) uses the same device as the L3 device. If the interface on the L3 part is a virtual interface, the interface on the next L2 hop (or previous L2 hop for an L2-L3 hop) may be the physical interface used by the device. Recall that user input as discussed earlier, resolves ambiguities whenever necessary. TABLE 4 Format of Multilayer Hops Class Format L3—L3 source and destination Device ID, IP Address, and interface L3-Cloud source and destination IP Addresses, interfaces Cloud-L3 source and destination IP Addresses, interfaces L2—L2 source and destination Device ID, interface, and VLAN L3-L2 source Device ID, IP Address and interface L2-L3 destination Device ID, IP Address and interface

[0196] C.3.4. Representation of Uncertainty

[0197] The “undiscovered router cloud” represents the uncertainty in the network topology due to incomplete information. Network paths with incomplete information are connected to the undiscovered cloud to ensure that the rest of the system takes this uncertainty into account. In certain circumstances it is useful to subdivide the undiscovered router cloud into several regions, not necessarily disjoint, based on heuristics and partial information. The invention accomplished this as follows: The first step is to substitute a cloud on each multi-layer path that is connected to the undiscovered router cloud. We consider two clouds mergable if there is substantial information that the two clouds might be representing the same unknown region. The invention follows the heuristic that two clouds are mergeable if for all common devices connected to both of the clouds, the source IP addresses and interfaces of these common devices are the same. The next step is to consider every pair of clouds and merge them if they are mergeable. The merge operation for clouds c1 and c2 substitutes a new cloud instead of c1 and c2 where all paths through c1 and c2 are connected to the new cloud. After each merge operation a new cloud is formed and the second step repeats until there does not exist any pair of mergeable clouds in the topology.

[0198] The implication of this alternative representation is that the L3Cloud hop shown in Table 4 is replaced by L3 Cloud and Cloud L3 where the formats are source device ID, IP address interface, destination cloud id and, source cloud id destination device ID, IP address interface, respectively.

[0199] While the strategy described above has been discussed in the context of the undiscovered router cloud at layer-3, the same strategy can be used to represent uncertainty at layer-2 as well.

[0200] D. Network Device Monitoring

[0201] Network device monitoring collects traffic, utilization, and error measurements from the devices in the network under consideration. Each measurement collected from the network devices is stored with the time of collection.

[0202] An example way to collect network utilization measurements is by polling switching devices in the network using SNMP. Other ways are telnet/CLI or LDAP. The network device monitoring component 320 of the illustrative embodiment of the present invention shown in FIG. 4 accesses the network topology data stored in the data store by the network discovery phase to obtain the list of switching devices to monitor. In this section the term device refers to a switching device. Data collection on these devices in the network involves SNMP MIBs that are indicative of traffic and utilization. More specifically, device monitoring component 320 polls SNMP agents on discovered devices to collect values for two types of MIB variables. The first type is device-specific MIB variables that pertain to the overall device, such as the total number of input packets received on all interfaces. The second type is interface specific pertaining to an individual interface, such as the total number of octets received on an interface.

[0203] In operation, element 320, shown in the illustrative embodiment of FIG. 3, polls the set of discovered network elements at regular intervals.

[0204] MIB variables are organized into sets based on their type and polling frequency. Some sets are polled more frequently than others. For example, a set of MIB variables indicating the total number of octets received and sent may be polled more frequently than others. The reason is that it generally proves advantageous to frequently poll variables that change more quickly in reflecting traffic levels at a monitored network device or an interface at such a device. MIB variable values are stored in the data store 340.

[0205] In addition to retrieving MIB variable values as described above, network element monitoring 320 also provides real-time estimates of the response time for each monitored network device. In particular, the illustrative polling operations conveniently record two timestamps for each SNMP request in the database: (i) a time stamp indicating the time at which the SNMP request was sent to a particular network device, and (ii) the time at which the result was received. For each monitored device, the maximum difference between the request and reply timestamps of all measurements collected during an interval is an estimate of that device's response time for that interval. One issue in monitoring network devices for any of a variety of load variables is that the queries sent by load monitoring element 320 itself introduces SNMP traffic to the network and affects load on queried network devices. While there may be some instances where any analysis based on received responses to MIB variables will take this incremental device/port loading into account, most applications of the illustrative polling techniques will show such incremental load to be insignificant.

[0206] Thus, it is seen that this process of monitoring a network captures the network behavior over a period of time from the perspective of the load on switching devices and links in the network.

[0207] E. Traffic Generation and Monitoring

[0208] The traffic generation and monitoring component, operating concurrently with the device monitoring component, injects traffic flows representing the target application to the network while collecting end-to-end quality metrics and layer-3 path information. In the subsequent description these flows will be referred to as “calls.” End-to-end quality metrics are measured at the endpoints of each call, and measurements are preserved for both directions of a call. The layer-3 path information, collected using traceroutes initiated by the endpoints during the call, is used to verify that the call path is following the predicted path based on router tables.

[0209] Traffic injection is carried out “around the clock” for several days, typically at least five business days. The objective is to ensure that the data collection occurs during time sensitive congestion that may occur in the network and, in particular, to observe the network at daily and weekly peak, or “busy hour”, loads.

[0210] In the case of VoIP there are several ways to generate or inject the voice traffic into the network, including using actual or simulated IP telephony equipment. The basic requirement is that the injected traffic should emulate a full duplex call. In other words, RTP packets containing a payload that simulates the actual amount of data in a VoIP RTP packet should be exchanged at regular intervals between a pair of call endpoints. The call endpoints can be IP telephones, computing devices that simulate the RTP packet flows, or a combination of both. For the sake of simplicity, we refer to the generated voice traffic as synthetic traffic regardless of how the voice traffic is generated.

[0211] Voice traffic injection has many parameters that impact the effectiveness of our approach. These include:

[0212] where call endpoints are placed in the network, both physically with respect to network devices and logically with respect to VLAN's,

[0213] what subset of the possible endpoint pairs will be used to synthesize calls and how many calls should be occurring concurrently,

[0214] what call duration and inter-call intervals to use,

[0215] which standard codecs should be simulated when generating RTP packets, and

[0216] what ports and QoS markings (TOS, Diffserv, VLAN tags) to use for generated RTP packets.

[0217] Placement of call endpoints directly affects which part of the network is traversed by the call traffic. In order to draw conclusions about a network, injected voice traffic should cover the entire network. Note that covering the entire network is not necessarily sufficient for the purpose of identifying problematic parts of a network. It is also necessary to be able to distinguish the effect of each hop on call quality. Call duration and inter-call intervals for synthetic traffic affect the precision of the collected measurements. Selection of codec impacts the payload size and the packet transmission rate. QoS markings affect the way network devices handle voice packets. The present approach requires that the synthetic traffic receive the same treatment as the actual voice packets after the deployment of IP telephony equipment.

[0218] The eventual analysis of the collected measurements should support the observation of all potential end-to-end QoS problems and support root cause analysis of identifying how the different network elements affect end-to-end QoS. Thus, synthetic voice calls should follow a pattern selected based on the network topology to provide the needed network coverage.

[0219] The call generation and monitoring component has a separate user interface that allows the user to specify a sequence of calls, called a call pattern. Each call has the following parameters, a pair of endpoints, QoS setting, codec/payload, packet rate, jitter buffer size, start time, and duration. A single endpoint may be specified to appear any desired number of times within a given call pattern.

[0220] During the call generation phase, a call control module automates the initiation of calls and collection of QoS statistics. Endpoint software must be installed on a computer to send and receive synthetic traffic and to collect and report statistics about this traffic to the call control module. Let E₁ and E₂ be two endpoints in the network running the endpoint software. To initiate a synthetic call between E₁ and E₂ at time t, the call control module sends control information, including call parameters, at time t to the control agents running on both E₁ and E₂. E₁ and E₂ execute the calls and report call statistics back to the call control module. The endpoints compute delay, jitter, and packet loss statistics (such as minimum, maximum and average for each 5 second interval) for each call. The call control module stores the call statistics in the data store 340.

[0221] Call patterns are generated using intuitive heuristics. The present algorithm relies on randomly distributing the endpoints but also ensures that endpoint pairs separated by long paths are exercised. The motivation for ensuring long paths is to determine the worst possible delay that voice traffic would incur in the network. Without any prior information on a network, paths that have more hops are likely to have more delay. Many variations on this strategy are possible.

[0222] F. Visualization and Analysis

[0223] The Visualization and Analysis component performs the key functionality of integrating the information collected by the other components. This integration makes it possible to present the data collected in a meaningful manner for the user to diagnose the performance of the network. Data organization and access mechanism is critical, especially due to the large amounts of data collected by the system and the fact that it is integrating data from a number of sources. These sources not only include the data collected automatically by the discovery, monitoring and synthesis but the user can manually edit the discovery or topology analysis through interacting with the network topology display described below; i.e., by interacting with the visual network topology display the operator can modify or add link entries to the topology andedit other types of discovery, topology or monitoring information. Note that the synthesis component synthesizes end-to-end traffic for a target application and collects the relevant QoS metrics for each synthetic flow. In this section we will refer to this flow as a call.

[0224] The first type of visualization provided by the invention is the network topology display shown in FIG. 16. This arrangement shows the topology of the network under consideration as discovered by the system. In this system various shapes represent different types of devices. For example in this figure, a router is represented by a circle, a switch is represented by a square and an endpoint is represented by a triangle. Undiscovered devices are represented by one of the clouds. A hexagon indicates a router whose address is known but was not discovered by the discovery component. Lines indicate links between devices. Various legends can also be added as shown in figures such as large rings around sections to indicate a meaningful cluster such as a particular building, with the address given beside it. A device can be labeled with its name, IP address, or a unique number internal to the system. The system also can provide the interface numbers at the ends of a link (not shown here). FIG. 17 shows only a part of the system shown in FIG. 16, namely, the parts of the network that are carrying synthetic calls.

[0225] Device monitoring and synthetic call data collected by the system are time dependent. The system provides visualization of network behavior summarized by a slice of time; for example, a convenient slice length parameter might be an hour. A slider keeps track of the summarized time slice. At each time slice, based on the call data collected at that slice, devices in the network are shaded with different colors to indicate their performance with respect to a given metric such as delay, loss, and jitter, or device load, utilization or other performance metrics.

[0226] Some examples of the use and definition of colors is as follows. At a given time slice, if all the calls that passed a particular device were within given limits for desired metrics, the device may be colored green. If no calls traversed that particular device, it may be colored white. If a device does not handle any calls within the desired limits for the particular metric the device may be colored red. It would also be possible to utilize a color scale to indicate the proportion of calls touching the device that are not within the acceptable QoS threshold (to show the continuum between 0 and 1, i.e., all calls within threshold to all calls above threshold). That is, if only a few calls are of poor quality, it might be colored light yellow and if many are of poor quality, it might be dark gold. The color purple could be utilized if all the synthesized calls fail, which probably indicates that the endpoint had a problem. By utilizing different colors, it becomes visually obvious where the problems may lie. The indicated network conditions, as described above, can be visualized over time. The result is in a form of a movie where the series of graphs change over time. Thus, it is easy to see during the course of a day, for example, where and when the problems first arise and where and when they later become evident. This may allow the operator to determine the first problem point and deal with that problem to see if it helps the problems that develop later. This particular pattern of change may also help to isolate other problem areas.

[0227] In addition to analyzing the data for individual devices, the system provides visuals for analyzing end-to-end QoS values and the SNMP MIB variables along the path of a call between two endpoints. It also depicts the path between two endpoints on the network graph. FIG. 18 shows the path of voice packets exchanged between two endpoints. This graph is accessible by clicking on a pair of endpoints. This end-to-end path may be colored (shaded in the figure) to distinguish it from the rest of the topology.

[0228] User interaction with the network topology display can be used for a number of different reasons: e.g., to access and change information that was gathered in the discovery phase, to change the placement of links and devices by manual intervention, or to access more detailed views of the collected data. For example, the operator might access detailed information about a device by clicking with the mouse on the device of interest. The system allows access to a number of plots summarizing the collected SNMP data or the detailed metrics about the synthetic call data. For example FIGS. 19A and B shows examples of detailed information available for an individual device. FIG. 19A is a plot of utilization on an interface of a network device over time. Utilization is expressed as a percentage of the device's capacity. For each hour, a dark horizontal line indicates the hourly average and the lighter shaded vertical line indicates the minimum/maximum for one minute during that hour. Graphs are provided both for data going in and out. In this example plot, the two-day period having low utilization corresponds to a weekend between the five-day high utilization periods. High utilization periods are also observable in the mid-section of each day, corresponding to the working hours. FIG. 19B indicates the counts of various types of errors encountered on the device interface during data collection period. In the example, out discards have a high count. Error counts provide further insight to understanding the nature of the problem.

[0229] Other example graphs are shown in FIGS. 20A, 20B, 20C and 20D. FIG. 20A shows six pairs of plots representing the QoS metric statistics for all the calls generated between two endpoints. Each pair of plots in the left column and the top two pairs of the right column shows an end-to-end QoS metric statistic in both directions. The A to B direction is the bottom panel and the B to A direction is the top panel of a plot. Each dot (could be colored red) and the grey lines emanating from it represent the average and the minimum and maximum value, respectively, of the particular QoS metric statistic for the calls. The shaded rectangles (could be colored green to denote within threshold) represent the acceptable values of the corresponding QoS statistic. The bottom pair in the right hand column shows CPU load on the two host endpoint computers. In each panel dashed lines depict either daily or hourly demarcations.

[0230] Another example graph of the end-to-end QoS metric data is shown in FIG. 20B. In this figure three pairs of graphs are shown, each of which corresponds to one of the three metrics: packet loss, jitter and one-way delay. The difference between these plots in FIG. 20B and those in FIG. 20A is that the preceding ones show end-to-end QoS values between two endpoints, whereas the plots in FIG. 20B summarize all the end-to-end QoS values over all pairs of endpoints for which the call takes the same path between their closest switching devices. Each metric pertaining to synthetic voice calls exchanged between all the endpoints off of switching device A and off of switching device B is graphed over the data collection period. A shaded area or horizontal line indicates the threshold below which a measurement is considered to be of good quality. For each hour of data collection, the following are also marked on the plot: horizontal hourly median, minimum to maximum by the vertical line, and intermediate shading to indicate the 25 to 75 percentile range.

[0231] The device or link data along the path of a call can be visualized and thus be related to the end-to-end QoS behavior. FIGS. 20C and 20D together show one example. These figures summarize the network utilization levels on each link on the call path between the endpoints of FIG. 20A or 20B with respect to time. Time scales for the plots in FIGS. 20A, 20B, 20C and 20D are the same. Utilizations (or MIB values) in each direction of the path are shown in FIGS. 20C and 20D. The A to B direction is read in the left column from top to bottom, and the B to A direction is read in the right column from bottom to top. Note that in cases where link utilization information is not available or that there is a cloud along the path, the plot corresponding to the link is left empty.

[0232] The plots in FIGS. 20B, 20C and 20D provide the unique ability to relate the end-to-end quality observed between two endpoints at a given point in time to the network conditions at the same point in time. With these plots, the user can determine which links on the call path, if any, impact the call quality adversely.

[0233]FIG. 21 shows an example of a summary plot to indicate the overall quality of synthesized calls injected into the network. Three separate time periods are established indicating weekends, non-business hours and business hours. Next the endpoints are grouped by some variable of meaning (e.g., location, floor, building). In this plot the endpoints were grouped by their location: 211, 233, or 150. In the sample plot in FIG. 21, these numbers refer to the three groups shown in FIG. 17. The call data is then grouped by pairs of locations called path groups. In general, the path groups are selected to group parts of the network in a meaningful way. Thus the top line in each of the three plots indicates calls within the 150 location. The second line from the top in each plot indicates calls within the 211 location and the third line indicates calls within 233 location. The remaining three indicate calls placed between two different locations. On the right-hand side the figures indicate the number of hours of monitoring of the calls contained in the path group during the particular time period, e.g., business hours. On the left-hand side of the figure is indicated the percentage of calls that were outside of the threshold of the particular QoS metric (i.e., percentage of bad calls). Along the horizontal axis is an end-to-end QoS metric statistic. MOS is shown in this example. Recall that MOS score has a scale of 1-5 indicating the quality of the call. Generally a number of 4 and above is considered good. Accordingly, the area above the number 4 is shaded to indicate that these calls are not a problem. In addition, the percentile ratings of the calls are indicated by system so that it can be determined visually how the calls are spread out along the MOS scores for each pair of groups and time period. A dot is given at the 50th percentile and a rectangular box is used to indicate the spread of 25th to 75th percentile. The 50th percentile dot is always within this box. A single line extends outwardly from the end of the box to indicate the spread of the remaining 25 percentile scores on each end. Thus, this is an example of a summary view that can aid the operator in looking in the right area for problem switching devices.

[0234]FIG. 21 is an example of one of the summary plots of the synthetic call data. The system contains numerous other summary graphs, including some that depict only the switching device data. Two such examples are shown in FIGS. 22 and 23. FIG. 22 provides a high level view of the most heavily utilized interfaces across all the devices within the network that were monitored. Each hour of data is summarized by the highest one-minute utilization. Then these values are grouped by work hours, outside of work hours and weekends. Only those interfaces that have at least one minute of utilization during the monitoring period above a chosen threshold are shown here. For this example the threshold was chosen to be 30%. For each interface that has either an inbound or an outbound one-minute utilization >30% we show two box and whisker plots. The bottom one is for inbound traffic and the top one for outbound traffic. The median one-minute values are the dots, the thick line goes from the 25^(th) to the 75^(th) percentiles and the thin lines go from the minimum one-minute utilization to the maximum one.

[0235] Other types are summary graphs are useful for other types of data. For example, some device statistics are counts. For these variables the total count within a period of time might be of interest to the user. FIG. 23 shows an example of how total counts can be conveyed across all such count variables and across all monitored devices. Each panel shows the total count of each variable listed at the left for one switching device. Total count is denoted along the horizontal axis. The range of the horizontal axis is limited by a chosen adaptive criterion so that any very large value does not make the rest of the values unreadable. For any variable/switching device combination that is larger than the max of the horizontal axis range the count size is depicted differently. Some examples of how to do this is by showing different plotting character, such as the arrow shown in FIG. 23 or possible displaying the exact count as this plotting character.

[0236] A number of other displays can be generated either in the form of tables or graphs which provide various types of information to the user. In many cases, it is possible to access different displays either by clicking on various points in the current display or by calling up a menu of displays and selecting the one which is desired. FIGS. 24-27 are flowcharts that show how some of the displays can be generated.

[0237]FIG. 24 is a flowchart that details how the operator can produce additional displays showing other details of the various devices. Starting at step 680, the operator starts the network topology visualization application and in step 681 selects the device detail selection from the main menu. In step 682, the operator also selects the time of interest using the slider and the time range selection for the horizontal axes in the graphs in the View menu. In step 683, the operator selects a particular device of interest by clicking on the representation of the device in the network display. A table is then produced which gives details concerning the numbers of total calls that passed through the device at the time interval of interest, how many out of this total are poor calls, and where the calls have originated and ended. It also provides information regarding the device itself. Some of the information in the table is further highlighted to indicate that further displays may be obtained by clicking on the highlighted area. By clicking on a highlighted device IP or name (685) the user can obtain plots pertinent to the particular device. The flowchart of the choices of switching device plots is in FIG. 25. Three choices are shown in 623, 624 and 625 of FIG. 25. By clicking on a pair of endpoint addresses (686) the user can obtain access to plots pertaining to the pair of endpoint addresses or all endpoints along the same path as the chosen pair of addresses. Possibilities of such plots are described in 643, 644 and 645 of FIG. 26. Further information on these plots will be described subsequently.

[0238] An additional interaction in selecting a pair of endpoints in step 686 can cause the path to be displayed on the network topology graph between the endpoints in step 687. This has been described already with respect to FIG. 18.

[0239]FIG. 25 shows a further flowchart regarding the generation of device plots mentioned above in step 685. Starting in step 621, the operator selects a particular device by name. A menu window is called up in step 622 to select one of three plot types, namely, summary, error or time series plots. These three choices are shown in steps 623, 624, and 625. When the summary plot is chosen, a summary utilization plot is generated in step 626. This plot is similar to that shown in FIG. 22 except that it shows the inbound and outbound utilization on each interface of one device. It has three sections related to work, non-work and weekend time frames. It also utilizes the box and whisker plotting style shown in FIG. 22. However, in this plot the maximum one-minute utilization shown separately in both the inbound and outbound directions may be plotted against the corresponding interface on the chosen device.

[0240] If the error plot is selected in step 624, the operator then has a choice of the device or interface specific plot as shown is step 627 and 628. These are selected by menu. If the device specific type is selected in step 627, a display is generated in step 629 to show a plot of the total count of each of the device error MIB variables over the selected time period. This chart includes two parts, the first part displaying the total count of each of the variables in a fashion similar to that in FIG. 19B. The second part generates a more detailed plot for each error type that has a large count. An example of such a detailed plot may be similar to the time plot shown in FIG. 19A. This more detailed graph displays the count by hour for those error types.

[0241] If the interface type is selected in step 628, a display is generated in step 630 to show a dot chart of total errors for each interface number. For variables with a large count on an interface more detailed time plots will also be shown.

[0242] If the time series option is chosen in step 625, the operator may then also select between device type in 631 and interface type in 632. If the device type is chosen, a display is generated as indicated in step 633 of a time graph of the chosen variable. This time graph can show the one-minute values or hourly averages can also be included. If the interface type is selected in 632, the display is generated in 634 of a time graph of each interface for the chosen variable. If the chosen variable is traffic then either raw counts or utilization can be chosen.

[0243] In FIG. 26, the operator starts at step 640 and selects a pair of endpoints in steps 641. The operator then selects the plot type by menu in step 642. Three possible selections are the call type plot shown in step 643, the device type plot shown in step 644 and the summary type plot shown in step 645. If the call type is selected, the user may obtain displays of the QoS variables between two endpoints or along one path taken by calls. If the device plot is chosen, the user may obtain displays of a chosen interface or device variable over time and over the path of the call between the two endpoints. If the summary type is chosen, the user can display summary plots of a chosen variable over the path of the call between the two endpoints.

[0244] If the call plot is selected in step 643, the user then may select between the pair type in step 646, the percentage type in step 647 or the box type in step 648. The selection of each of these types generates corresponding plots in steps 649, 650 and 651. The plot pair display of step 649 shows separate plots for the various metrics over time for the selected pair (described in FIG. 20A). These may also be displayed for the two separate directions.

[0245] The percentage plot of step 650 shows the number of calls that exceed the quality of service threshold for each of the metrics. The path plot of step 651 displays data for all endpoint pairs whose paths that match that of the selected endpoints (described in FIG. 20B). The plots display each of the QoS metrics against time.

[0246] If the device type is selected in step 644, first the user needs to choose the variable of interest in step 656. A time series plot of the chosen variable is shown for each device along the path of the call if the chosen variable is a device variable. If the chosen variable is an interface variable a time series plot of the chosen variable for the particular interface touched by the call for each device along the path of the call is plotted. An example of this plot is described in FIG. 20C. The operator has the option of selecting the hourly button 658 (664 or 666 if the variable is Octets), or not and to select the utilization button 662 or not if the chosen variable is Octets. If the hourly button is not selected, a shorter time period is used in steps 661, 669 or 667. When the hourly button is selected in either steps 658, 664 or 666, a display is produced in step 660, 668 or 670 respectively of time series graph of hourly values. In this, the hourly averages of a particular SNMP variable are plotted along with the minimum and maximum one-minute values in each hour for each device and interface along the path of a call if an interface variable was chosen or for each device along the path of a call if a device variable was chosen. This is in contrast with the display produced in either 661, 669 or 671, when the hourly button is not selected in steps 659, 665 or 667 respectively. In these cases the data are plotted by polling intervals. These polling intervals are much shorter than an hour and are typically 10 seconds or 60 seconds long, as indicated previously.

[0247] If the utilization button is selected in step 662, a display is produced which is a time graph of bits per second divided by the speed of interface touched by the calls for each device along the path of the call. If the utilization button is not selected as in step 663, a graph is produced in steps 670 or 671 of a time graph of bits per second for each device or interface along the path of the call.

[0248] If the summary selection is made as step 645, it is possible to select either the device in step 652 or the interface in step 653. If the device is chosen, a display is generated in step 654 which is a dot plot of the SNMP device errors for each device and error SNMP Mib variable that was monitored along the path of the call between the two endpoints. If the interface is selected, a display is generated in step 655 which is a dot plot of the various error types for each interface on each device touched by synthetic call data between the two endpoints.

[0249] Another type of plot which may be generated is the summary plot. FIG. 27 is a flowchart that shows the selection of various summary plots. The operator begins at step 700 and causes a menu to be displayed in step 701. A menu then allows a selection of three types of plots, the SNMP plot, the call plot and the topology plot. These choices are shown in steps 702, 703 and 704. If the SNMP type is selected in step 702, a utilization plot or a device error plot can be chosen for display. If utilization is selected, the display is of a summary box plot of inbound and outbound utilization for all interfaces on each device that have a maximum minute utilization greater than a cutoff value (described in FIG. 22). If the device error plot is chosen in step 706, a display is produce of a summary dot chart of the total error counts for each device error variable for all devices having SNMP turned on (described in FIG. 23).

[0250] If the call type is chosen in step 703, the operator can chose one of four types from the menu: the path group shown in 707, one group shown in step 708, codec in step 709 and direction in step 710. If path group is chosen, a summary box plot of the path groups and time slots is produced. This plot is similar to that shown in FIG. 21. If one, group is chosen, a summary box plot is displayed where call data for a particular path group is summarized for each of the paths that begin or end in the two groups of interest and each time slot. If codec is chosen in step 709, a display is produced of a summary box plot which plots the call data for each codec and time slot. If the direction option is chosen step in step 710, a display is produced of summary box plots showing the data for each path group that the selected group is a part of and for each direction separately and for each time slot.

[0251] If the topology option is selected in step 704, the operator may select between all in step 711 and one in step 712. If all is selected in 711, a display is produced which depicts each distinct path through the network. If one is selected in step 712, a display is produced which depicts all the paths that call through the network from the single call group.

[0252] Thus, these flowcharts indicate that additional types of displays and tables may be produced either by indicating the desired plot from the menu and by properly clicking on either the device detail window or the network topology display in previously described views. This particular arrangement allows the user to move from one type of data to another easily so that the operator may pinpoint trouble areas and to determine in general whether QoS for voice over IP will be acceptable.

[0253] The system allows exporting data to other applications by accessing the database. The results of queries can be stored in flat files in a tabular format.

[0254] Thus, the above three phases indicate a framework for providing tools that facilitate the assessment of IP telephony readiness of a network. As seen above, this framework includes first determining the topology of the network including determining the exact path between two endpoints in the network. Then network device monitoring and injection of synthesized calls occur concurrently. Network devices are polled frequently, such as every 10 or 60 seconds and the topology and monitoring and call QoS measurements are collected in the data store. The monitoring and end-to-end call QoS statistics are time stamped to allow matching in the analysis. The database is used as a source to form graphs, tables and other information that can be employed by the user to determine problem areas and to switch between information displays in order to obtain a further understanding of the workings of the network. Using this type of system, it is possible to easily examine a network and determine whether it is possible to use IP telephony therein.

[0255] Although this framework is intended for this IP Telephony as the target application, it can be easily used in assessing the QoS levels in a network with respect to other applications with stringent QoS needs. This system can also be used after IP telephony is installed to determine how it is working and to find problem points. It also can be used to help troubleshoot networks for various problems. It could be used for assessing networks for other purposes than voice systems such as other multimedia applications. In fact, it can be used for multiple types of applications concurrently (e.g., VoIP, video, web, etc.) and report the results in a unified visualization. It can also be used to collect other types of quality of service parameters. It would be possible to embed software of this kind in IP telephones in order to monitor the QoS in the network and the quality of the VoIP calls after deployment. In this manner, the IP phones could be used as test agents for remote monitoring or on-site management. Other types of assessments which can use such a system includes disaster recovery planning, reconfiguration planning, security assessments and tariff arbitrage.

[0256] There are a number of reasons for poor quality of VoIP calls including misconfigured networking element, an overloaded link, or improper prioritization for voice traffic. Since individual calls are channeled through numerous elements and links, the reason for poor call performance is typically not easily determined. At the same time, a problem with some locations of the network is likely to affect the performance of any call that goes through that location. Properly attributing blame for poor performance is crucial to any diagnostic effort. Thus a framework such as that described in this document is necessary in order to take into account various performance metrics, network device monitoring, and topology to best determine the location and nature of underlying problems. This makes it possible not only to identify problems early on but also make it possible to change the focus of the measuring process to areas where there is greater uncertainty. In fact, our system has a lot of things that can be reconfigured as necessary during the data collection process (e.g., SNMP polling, subnets chosen for the discovery process, where endpoints are placed, where/when calls are placed, etc.). Decision for this reconfiguration can be dynamically driven by the analysis findings and the behavior of the network.

[0257] Numerous additional modifications and variations of the present invention are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims, the invention may be practiced otherwise than as specifically described herein. 

What is claimed is:
 1. A method of analyzing and displaying data about a network of devices carrying calls, comprising: retrieving stored data about said network from a data store; assigning specific shapes to different types of devices and interconnections in said network; analyzing said data to determine which calls traveling through said network are bad calls; determining which devices and links are traversed by said bad calls and good calls; assigning colors to devices and links in said network based on a proportion of bad calls traversing each device; assigning colors to devices and links in said network reflecting load, utilization or error data associated with said device and link; displaying said network with devices and interconnections represented by said assigned shapes and colors; and providing a user interaction mechanism for manual intervention and requests for diagnostic visualizations.
 2. The method according to claim 1, further comprising: selecting two devices on said displayed network; detecting a path for calls between said two devices; and displaying said path by changing one of color and shading.
 3. The method according to claim 1, wherein said display reflects a selected time interval.
 4. The method according to claim 1, further providing a mechanism to reflect a time interval selected.
 5. The method according to claim 1, wherein a metric used to determine bad calls is end-to-end one-way delay.
 6. The method according to claim 1, wherein a metric used to determine bad calls is jitter.
 7. The method according to claim 1, wherein a metric used to determine bad calls is packet loss.
 8. The method according to claim 1, wherein a metric used to determine bad calls is packet loss burst.
 9. The method according to claim 1, wherein said user interaction mechanism specifies the placement of a link or device with mouse clicks or key strokes.
 10. The method according to claim 1, wherein said user interaction mechanism selects diagnostic visualizations with a mouse click or key stroke.
 11. A method of analyzing and displaying data about a network of devices comprising: retrieving stored data from a data store; determining percentages of utilization for links during specified measurement intervals; and displaying a graph of inbound and outbound utilization on each interface on each device in said network separately for each measurement interval. 12 A method of analyzing and displaying data about a network of devices comprising: retrieving stored data from a data store; determining total counts of each device variable during a specified measurement interval; and displaying a graph of counts on each device in said network separately.
 13. A method of analyzing and displaying data about a network of devices comprising: retrieving stored data from a data store; determining load, utilization or error data during a measurement interval for one device; and displaying a graph of inbound and outbound load, utilization or error on each interface on said device in said network separately.
 14. A method of analyzing and displaying data about a network of devices comprising: retrieving stored data from a data store; determining total counts of a load or error variable on each interface for one device during a measurement interval; and displaying a graph of counts on each interface on said device in said network separately.
 15. A method of analyzing and displaying data about a network of devices comprising: retrieving stored data from a data store; determining load, utilization or error data over time during a measurement interval; and displaying a graph of load, utilization or error data versus time for an interface on a device in said network separately for packets entering and packets leaving said device.
 16. The method according to claim 15, wherein the measurement interval is a series of days including weekdays and weekends.
 17. The method according to claim 15 wherein the distribution of the load, utilization or error data over an interval is expressed plotted versus time.
 18. A method of analyzing and displaying network data comprising: retrieving stored data from a data store; summarizing QoS metric values for each call between two endpoints and for each QoS metric; displaying graphs of call metrics over a measured time period versus time of the call for both directions of the call; and displaying a shaded area that indicates a threshold of acceptable calls.
 19. A method of analyzing and displaying network data comprising: retrieving stored data from a data store; determining percentages of bad calls in a given path in said network over time; displaying a graph of percentages of bad calls over a measured time period versus time; and displaying the path in reference to the network.
 20. The method according to claim 19, wherein said bad calls are determined in regard to end-to-end on-way delay.
 21. The method according to claim 19, wherein said bad calls are determined in regard to jitter.
 22. The method according to claim 19, wherein said bad calls are determined in regard to packet loss.
 23. The method according to claim 19, wherein said bad calls are determined in regard to packet loss burst.
 24. A method of analyzing and displaying data about a network of devices comprising: retrieving stored data from a data store; determining summary statistics for the distribution of each QoS metric for specified time intervals in each direction for all calls that took a given path in said network over time; displaying said summary statistics versus time; displaying a shaded area that indicates a threshold of acceptable calls; and displaying the path in reference to the network.
 25. A method according to claim 24, wherein the displayed acceptable call threshold is determined in regard to delay.
 26. A method according to claim 24, wherein the displayed acceptable call threshold is determined in regard to jitter.
 27. A method according to claim 24, wherein the displayed acceptable call threshold is determined in regard to packet loss.
 28. A method according to claim 24, wherein the displayed acceptable call threshold is determined in regard to packet loss burst.
 29. A method of analyzing and displaying data about a network of devices comprising: retrieving stored data from a data store; determining the exact path that a given call took through the network, including devices and interfaces; determining device or link load, utilization or error data over time during a measurement interval; determining device or link load, utilization or error data over time during a measurement interval corresponding to some period of time when the given call was in progress; displaying a graph of device or link load, utilization or error data over time for each interface on each device in said path separately for both directions of the path; and displaying the path in reference to the network.
 30. A method of analyzing and displaying data about a network of devices comprising: retrieving stored data from a data store; determining an exact path that a given call took through the network, including devices and interfaces; determining error counts over time during a measurement interval corresponding to some period of time when the given call was in progress; displaying a graph of error counts over time for each interface on each device in said path separately for both directions of the path; and displaying the path in reference to the network.
 31. A method of analyzing and displaying a data about a network of devices comprising: retrieving stored data from a data store; analyzing said data to determine numbers of bad calls and levels of call metrics between different sections of said network; and displaying a graph of said numbers of bad calls and levels of call metrics for different sections of said network.
 32. A method according to claim 31, wherein said graph is divided into section representing selected time intervals.
 33. The method according to claim 31 where the selected time intervals are regular work hours, hours during the week outside of regular work hours, and weekends.
 34. The method according to claim 31, wherein the graph uses a box and whisker graph.
 35. The method according to claim 31, wherein a shaded area indicates a threshold of acceptable calls.
 36. A method of analyzing and displaying data about a network of devices comprising: an apparatus that displays the network; an apparatus for interacting with the network display; an apparatus for obtaining visualizations of device, link, path and call data; an apparatus for specifying the subset of calls used to produce the visualizations of device, link, and path data; an apparatus for specifying the subset of the network devices and links used to produce the visualization of the call and path data; an apparatus for specifying the periods of time for which the visualizations show the call, device, link, and path data; an apparatus for manually modifying devices and links; and an apparatus for accessing and modifying collected discovery and topology data.
 37. A method for analyzing and reporting integrated network topology, network traffic statistics, and end-to-end quality of service (QoS) measurements comprising: analyzing traffic statistics; analyzing end-to-end QoS measurements; relating network traffic statistics with end-to-end QoS measurements on a common timescale and across network paths; displaying network topology; displaying traffic measurements on network devices and links; displaying end-to-end QoS measurements; and navigating across relevant displays.
 38. The method according to claim 37 for analyzing traffic statistics comprising: retrieving stored data about said network from a data store; and determining load, utilization, and error statistics of devices and links in said network at specified times.
 39. The method according to claim 37 for analyzing end-to-end QoS comprising: retrieving stored data about said network from a data store; determining the source, destination, duration, and the time of end-to-end traffic associated with measurements of poor quality of service metrics; identifying said poor quality traffic in terms of calls; determining the source, destination, duration and the time of end-to-end traffic associated with measurements of acceptable quality of service metrics; and identifying said acceptable quality traffic in terms of calls.
 40. The method according to claim 39, wherein the metric used to determine poor quality calls is end-to-end one-way delay.
 41. The method according to claim 39, wherein the metric used to determine poor quality calls is jitter.
 42. The method according to claim 39, wherein the metric used to determine poor quality calls is packet loss.
 43. The method according to claim 39, wherein the metric used to determine poor quality calls is packet loss burst.
 44. The method according to claim 37 for relating traffic statistics with end-to-end QoS measurements on a common timescale and across network paths comprising: retrieving stored data about said network from a data store; determining simultaneous traffic and call measurements; determining network devices, links, and paths traversed by each call; determining which devices and links are traversed by poor quality calls; and determining calls traversing each network device, link and path.
 45. The method according to claim 37 for displaying network topology comprising: retrieving stored data about said network from a data store; assigning specific shapes to different types of devices and links in said network; and displaying said network with devices and links represented by said assigned shapes.
 46. The method according to claim 45 for displaying network topology further comprising: assigning colors to devices and links in said network based on a proportion of poor quality calls traversing each over a given time interval; assigning colors to devices and links in said network reflecting load, utilization, and error statistics associated with the said device and link; and displaying said network with devices and links represented by said colors.
 47. The method according to claim 46 further comprising: providing a mechanism to reflect the time interval selected; and providing a mechanism to change the given time interval.
 48. The method according to claim 45, further comprising: selecting two devices in said displayed network; detecting a path for calls between said two devices; and displaying said path by changing one of color and shading.
 49. The method according to claim 37 for displaying traffic statistics comprising: retrieving stored data from a data store; determining percentages of utilization for links during specified measurement intervals; and displaying a graph of inbound and outbound utilization on each interface on each device in said network separately for each time measurement interval.
 50. The method according to claim 49, further comprising: determining total counts of each device variable during a specified measurement interval; and displaying a graph of said counts on each device in said network separately.
 51. The method according to claim 50, further comprising: determining load, utilization or error data during a measurement interval for one device; and displaying a graph of inbound and outbound load, utilization or error on each interface on said device in said network separately.
 52. The method according to claim 51, further comprising: determining total counts of a load or error variable on each interface for one device during a measurement interval; and displaying a graph of said counts on each interface on said device in said network separately.
 53. The method according to claim 52, further comprising: retrieving stored data from a data store; determining load, utilization or error data over time during a measurement interval; and displaying a graph of load, utilization or error data versus time for an interface on a device in said network separately for packets entering and packets leaving said device.
 54. The method according to claim 52, wherein the measurement interval is a series of days including weekdays and weekends.
 55. The method according to claim 52, wherein the distribution of the load, utilization or error data over an interval is plotted versus time.
 56. A method according to claim 37 for displaying end-to-end QoS comprising: retrieving stored data from a data store; summarizing QoS metric values for each call between two endpoints and for each QoS metric; displaying graphs of call metrics over a measured time period versus time of the call for both directions of the call; and displaying a shaded area that indicates a threshold of acceptable calls.
 57. The method according to claim 56 further comprising: determining percentages of poor quality calls in a given path in said network over time; displaying a graph of percentages of poor quality calls over a measured time period versus time; and displaying the path in reference to the network.
 58. The method according to claim 57, wherein said poor quality calls are determined in regard to end-to-end one-way delay.
 59. The method according to claim 57, wherein said poor quality calls are determined in regard to jitter.
 60. The method according to claim 57, wherein said poor quality calls are determined in regard to packet loss.
 61. The method according to claim 57, wherein said poor quality calls are determined in regard to packet loss burst.
 62. The method according to claim 57, further comprising: determining summary statistics for the distribution of each QoS metric for specified time intervals in each direction for all calls that took a given path in said network over time; displaying said summary statistics versus time; displaying a shaded area that indicates a threshold of acceptable calls; and displaying the path in reference to the network.
 63. A method according to claim 62, wherein the displayed acceptable call threshold is determined in regard to end-to-end one-way delay.
 64. A method according to claim 62, wherein the displayed acceptable call threshold is determined in regard to jitter.
 65. A method according to claim 62, wherein the displayed acceptable call threshold is determined in regard to packet loss.
 66. A method according to claim 62, wherein the displayed acceptable call threshold is determined in regard to packet loss burst.
 67. The method according to claim 62, further comprising: determining the exact path that a given call took through the network, including devices and interfaces; determining device or link load, utilization or error data over time during a measurement interval; determining device or link load, utilization or error data over time during a measurement interval corresponding to some period of time when the given call was in progress; displaying a graph of device or link load, utilization or error data over time for each interface on each device in said path separately for both directions of the path; and displaying the path in reference to the network.
 68. The method according to claim 67 further comprising: determining an exact path that a given call took through the network, including devices and interfaces; determining error counts over time during a measurement interval corresponding to some period of time when the given call was in progress; displaying a graph of error counts over time for each interface on each device in said path separately for both directions of the path; and displaying the path in reference to the network.
 69. The method according to claim 68 further comprising: retrieving stored data from a data store; analyzing said data to determine numbers of poor quality calls and levels of call metrics between different sections of said network; and displaying a graph of said numbers of poor quality calls and levels of call metrics for different sections of said network.
 70. A method according to claim 69, wherein said graph is divided into sections representing selected time intervals.
 71. The method according to claim 69, wherein the selected time intervals are adjustable including regular work hours, hours during the week outside of regular work hours, and weekends.
 72. The method according to claim 69, wherein the graph uses a box and whisker graph.
 73. The method according to claim 69, wherein a shaded area indicates a threshold of acceptable calls.
 74. The method according to claim 37, navigating across relevant displays comprising: selecting a visualized item by a mouse click or a key stroke; and retrieving displays containing data pertaining to the selected item.
 75. The method according to claim 74, wherein the selected item is a network device.
 76. The method according to claim 74, wherein the selected item is a network link.
 77. The method according to claim 74, wherein the selected item is an endpoint pair.
 78. The method according to claim 74, wherein the selected item is a network path.
 79. A system for analyzing and reporting integrated network topology, network traffic statistics, and end-to-end quality of service (QoS) measurements comprising: an apparatus that analyzes network traffic statistics; an apparatus that analyzes end-to-end QoS measurements; an apparatus that relates network traffic statistics with end-to-end QoS measurements on a common timescale and across network paths; an apparatus that displays the network; an apparatus for interacting with the network display; an apparatus for obtaining visualizations of device, link, path and call data; an apparatus for specifying the subset of calls used to produce the visualizations of device, link, and path data; an apparatus for specifying the subset of the network devices and links used to produce the visualization of the call and path data; an apparatus for specifying the periods of time for which the visualizations show the call, device, link, and path data; and an apparatus for accessing topological discovery data. 